Blame view

node_modules/less/test/less-bom/extend-clearfix.less 217 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  .clearfix {
    *zoom: 1;
    &:after {
      content: '';
      display: block;
      clear: both;
      height: 0;
    }
  }
  
  .foo {
    &:extend(.clearfix all);
    color: red;
  }
  
  .bar {
    &:extend(.clearfix all);
    color: blue;
  }