背景颜色、图片、位置、尺寸、重复方式的简写。
<div class="bg2"><i>渐变背景</i></div>.bg2 { width: 200px; height: 90px; border-radius: 10px; background: linear-gradient(130deg, #2b57ff, #7a4bff 60%, #ff8a5c); display: grid; place-items: center; }
.bg2 i { color: #fff; font: 600 11px/1 ui-monospace, monospace; font-style: normal; }