首页 > 其他分享 >看文档elementui 转 element ui中的

看文档elementui 转 element ui中的

时间:2022-12-08 17:36:00浏览次数:79  
标签:el elementui bottom element 文档 ui margin css row

看文档elementUI文档  当中&是什么用途?

 

安然亦智

css学习杂记

 

1、css中的&语法

&是sass的语法,代表上一级选择器。

例如:

1 2 3 4 5 6 7 8 .el-row {     margin-bottom20px;     &:last-child   {     margin-bottom0; } }

相当于css写法:

1 2 3 4 5 6 .el-row {     margin-bottom20px; }     .el-row:last-child {         margin-bottom0;     }

  

标签:el,elementui,bottom,element,文档,ui,margin,css,row
From: https://www.cnblogs.com/effortandluck/p/16966683.html

相关文章