Last active
September 17, 2015 21:16
-
-
Save corysimmons/f2785a2253c699785a57 to your computer and use it in GitHub Desktop.
Simple syntax comparison of Jeet vs. Lost.
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
// Jeet | |
figure | |
col(1/2) | |
figure | |
col(1/2 1/2) | |
figure | |
col(1/2 1/2 1/2) | |
div | |
col(1/3, cycle: 3) | |
@media (max-width: 800px) | |
col(1/2, uncycle: 3, cycle: 2) | |
section | |
align(vertical) // or horizontal | |
// Lost | |
figure | |
column('1/2') | |
div | |
column('1/3') | |
@media (max-width: 800px) | |
column('1/2') | |
section | |
align(bottom-right, flex) // 1 of 9 positions | |
// Lost v6 (changes on the way, same syntax for Stylus/SCSS/LESS/CSS) | |
figure | |
lost-column: 1/2 | |
div | |
lost-column: 1/3 | |
@media (max-width: 800px) | |
lost-column: 1/2 | |
section | |
lost-align: bottom-right flex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment