Guest User

Untitled

a guest
Jul 17th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. / just write your markup as css selector rules, the default tag is div
  2. #html-id.html-class
  3. / nest things by indenting, never have to worry about closing tags again
  4. / specify tag name with %
  5. %ul
  6. %li.selected= "If you use an equal sign at the end of a tag, you can embed code"
  7. - 3.times do |i|
  8. %li= "If you use a - sign it won't output the result of that particular code, useful for control structures like loops ifs etc"
Add Comment
Please, Sign In to add comment