Blame view

styles/mixins/clearfix.less 241 Bytes
7fa943eb   梁灏   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  // mixins for clearfix
  
  .clearfix() {
      zoom: 1;
      &:before,
      &:after {
          content: "";
          display: table;
      }
      &:after {
          clear: both;
          visibility: hidden;
          font-size: 0;
          height: 0;
      }
  }