Created
May 3, 2014 14:52
-
-
Save jshawl/11499260 to your computer and use it in GitHub Desktop.
a precess production
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
html, body{ | |
height:100%; | |
background:#222; | |
} | |
body{ | |
display:flex; | |
align-items:center; | |
justify-content:center; | |
} | |
top:$top * $blockSize; | |
left:5 * $blockSize; | |
} | |
@else if ($i < 26){ | |
top:1 * $blockSize; | |
left:5 * $blockSize; | |
} | |
@else if ($i < 27){ | |
top:1 * $blockSize; | |
left:6 * $blockSize; | |
} | |
@else if ($i < 28){ | |
top:0 * $blockSize; | |
left:5 * $blockSize; | |
} | |
@else if ($i < 33){ | |
top:0 * $blockSize; | |
$left: 33 - $i; | |
left:$left * $blockSize; | |
} | |
} | |
} | |
} |
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
Line 13: Invalid CSS after " top:": expected pseudoclass or pseudoelement, was "$top * $blockSi..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment