Created
April 14, 2018 06:47
-
-
Save antiden/b94febbf636db659e7b700f2e75924c7 to your computer and use it in GitHub Desktop.
Stylus grid system
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
/************Grid****************/ | |
grid() | |
display flex | |
flex-flow row wrap | |
margin -15px | |
grid_item(arguments) | |
flex-basis "calc(%s - (15px * 2))" % arguments | |
margin 15px | |
/************Project tags*********/ | |
.row | |
grid() | |
.row__element | |
grid_item(25%) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment