Remove mixins for clarfix and overlay, make them only components. Add a new wrap component.
This commit is contained in:
parent
c939c7f95a
commit
50928f1056
1 changed files with 21 additions and 25 deletions
|
|
@ -3,7 +3,15 @@
|
|||
// Allows the bottom of an element to extend to the bottom of all floated child
|
||||
// elements. See http://nicolasgallagher.com/micro-clearfix-hack/
|
||||
|
||||
.clearfix,
|
||||
%clearfix {
|
||||
@include clearfix();
|
||||
.clearfix {
|
||||
&::before {
|
||||
content: '';
|
||||
display: table;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue