less的混入传值
作者:
阿克兰 | 来源:发表于
2020-07-14 16:16 被阅读0次 .sanjiao(@width,@width2){
&::before{
content: '';
display: block;
position: absolute;
bottom:0 ;
right: @width2;
width: 0;
height: 0;
border-bottom: @width solid @mainHightColorBlue;
border-left: @width solid transparent;
}
&::after{
content: '';
display: block;
position: absolute;
bottom:0 ;
right: 0;
width: @width2;
height: @width;
background: @mainHightColorBlue;
}
}
//使用的时候
.sanjiao(3px,18px)
本文标题:less的混入传值
本文链接:https://www.haomeiwen.com/subject/uurfhktx.html
网友评论