2019-04-12 css中&符号
2019-04-12 本文已影响0人
qiaoguoxing
.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;}