-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_trump.clearfix.scss
44 lines (29 loc) · 1.02 KB
/
_trump.clearfix.scss
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// =============================================================================
//
// Name: Clearfix
//
// Description: Micro clearfix. Extend the clearfix class with Sass to avoid
// the `u-clearfix` class appearing over and over in your markup.
//
// Block: `u-clearfix`
//
// Markup:
//
// <div class="u-clearfix">...</div>
//
// =============================================================================
// Variables
// =============================================================================
// Predefine the variables below in order to alter and enable specific features.
$tree-clearfix-namespace: $tree-namespace !default;
// =============================================================================
// Block: `u-clearfix`
// =============================================================================
.#{$tree-clearfix-namespace}u-clearfix,
%#{$tree-clearfix-namespace}u-clearfix {
&:after {
clear: both;
content: "";
display: table;
}
}