Created
March 12, 2018 14:17
-
-
Save carolina-vallejo/03fe81988654e2179af1b70f6e1b436e to your computer and use it in GitHub Desktop.
cleanflex clearfix flex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin cleanflex { | |
&::after, | |
&::before { | |
content: ""; | |
display: table; | |
-ms-flex-preferred-size: 0; | |
flex-basis: 0; | |
-webkit-box-ordinal-group: 2; | |
-ms-flex-order: 1; | |
order: 1; | |
} | |
&::after { | |
clear: both; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment