Last active
January 20, 2016 13:24
-
-
Save majman/99b25c7ac73fb91cc507 to your computer and use it in GitHub Desktop.
simple css grid
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
| @base-grid: @container-xl/9; // 132px | |
| @sub-grid: @base-grid/3; | |
| .show-grid { | |
| background: linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px), | |
| linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px); | |
| background-size: | |
| @sub-grid @sub-grid, @sub-grid @sub-grid, | |
| @base-grid @base-grid, @base-grid @base-grid; | |
| background-position: | |
| 0 0, 50% 0, | |
| 0 0, 50% 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment