查看: 262|回复: 0

[DIV/CSS] less中background:url问题

发表于 2018-2-13 08:00:02

.bg-image(@url){
background-image:~"url(@{url}@2x.png)";
@media (-webkit-min-device-pixel-ratio: 3),(min-device-pixel-ratio: 3){
background-image:~"url(@{url}@3x.png)";
}
}

background: url('/@{http}/img/icon/daorug@2x.png') no-repeat center 3rem / auto 25%;



回复

使用道具 举报