.el-row { margin-bottom:20px; &:last-child{ margin-bottom:0; } }
这是sass的语法,代表上一级选择器,实际编译成css就是 .el-row:last-child{}
sass语法,等同于.el-row{margin-bottom:20px;}.el-row:last-child{margin-bottom:0;}
.el-row { margin-bottom:20px; &:last-child{ margin-bottom:0; } }
这是sass的语法,代表上一级选择器,实际编译成css就是 .el-row:last-child{}
sass语法,等同于.el-row{margin-bottom:20px;}.el-row:last-child{margin-bottom:0;}
本文标题:2019-04-12 css中&符号
本文链接:https://www.haomeiwen.com/subject/gpnqwqtx.html
网友评论