1、css中的&语法
语法
&是sass的语法,代表上一级选择器。
例如:
.el-row { margin-bottom: 20px; &:last-child { margin-bottom: 0; } }
相当于css写法:
.el-row { margin-bottom: 20px; } .el-row:last-child { margin-bottom: 0; }
上一篇前端模块化 CommonJS AMD ES6 CMD
下一篇CnetOS7编译Redis5.0
苹果iphone如何开启青少年模式
微信青少年模式怎么关闭
Web CSS
网页播放摄像头视频 一种新的实现方式(非ocx方式)
学习js和jQuery总结
Web HTML
Flask简单http接口实现
PHP文件基础操作