Created
September 18, 2013 02:51
-
-
Save machida/6603862 to your computer and use it in GitHub Desktop.
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
// グリッドの設定 | |
$columns-count: 12 | |
$column-margin: 20px | |
.row | |
+row | |
// カラムの幅によって色を変える | |
=column-color($i) | |
background: hsl($i * 30, 46, 66) | |
// .columnに色を付ける | |
#grids | |
@each $break-point in $break-points | |
+break-points(#{$break-point}) | |
@for $i from 1 through $columns-count | |
#{$column-namespace}#{$break-point}-#{$i} | |
+column-color($i) | |
border-color: hsl($i * 30, 40, 50) | |
h1 | |
color: hsl($i * 30, 30, 40) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
マークアップ https://gist.github.com/machida/6603886