Skip to content

Instantly share code, notes, and snippets.

@corysimmons
Last active September 17, 2015 21:16
Show Gist options
  • Save corysimmons/f2785a2253c699785a57 to your computer and use it in GitHub Desktop.
Save corysimmons/f2785a2253c699785a57 to your computer and use it in GitHub Desktop.
Simple syntax comparison of Jeet vs. Lost.
// 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