Created
September 28, 2015 19:01
-
-
Save rafaelcavalcante/9d77fdc77c615f08cea4 to your computer and use it in GitHub Desktop.
Multi Column Sass Mixin
This file contains 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 split($columns, $gap) { | |
// Number of columns | |
-webkit-column-count: $columns; | |
-moz-column-count: $columns; | |
-o-column-count: $columns; | |
-o-column-count: $columns; | |
// Gap size | |
-webkit-column-gap: $gap; | |
-moz-column-gap: $gap; | |
-o-column-gap: $gap; | |
column-gap: $gap; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment