blob: d8bfcce5afdbf3b4ed4762142d08aaceb6b60a7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
////
/// Mixins
////
/// Render `border-box`
/// cf. http://caniuse.com/#feat=css3-boxsizing
@mixin _border-box {
& {
// -moz-box-sizing: border-box;
// -webkit-box-sizing: border-box;
box-sizing: border-box;
}
}
/// `clearfix`
@mixin _clearfix {
&:before,
&:after {
/* clearfix - http://nicolasgallagher.com/micro-clearfix-hack/ */
content: " ";
display: table;
}
&:after {
clear: both;
}
}
|