CSS0022: background 属性 简写 方式

1,

.btnDivL .L1 {

    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../icon/L1.png');
    /* 简写 */
    background: url('../icon/L1.png') no-repeat center / 100% 100%;

}

 

posted @ 2021-01-15 10:16  琥珀君  阅读(112)  评论(0编辑  收藏  举报