CSS0022: background 属性 简写 方式

时间:2021-01-15 12:16:11   收藏:0   阅读:0

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%;

}

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!