【CSS】background-image - 背景画像
CSSのbackground-imageプロパティについてご紹介します。
background-image
background-imageは背景画像を示すプロパティです。
基本構文
background-image: 値;
サンプル
<style>
div {
width: 100px;
height: 66px;
background-image: url('https://it-hack.net/storage/app/media/image/app-programing%40100x66.jpg');
}
</style>
<div></div>