How to created tree – list menu with haml, sass, coffeescript ?
Firstly, we create middleman project and create
index.html.haml
style.css.sass
application.coffee
then we open index.html.haml file and we write your code like this,
1234567891011121314151617181920212223
---mycodelikethis---%ul.archive_tool%li#tools Car
%ul.archive_requires%li#requires BMW
%li#requires Mercedes
%li#requires Toyota
%li#requires Fiat
%li#tools Book
%ul.archive_requires%li#requires Ruby
%li#requires ROR
%li#requires Thought
%li#tools Computer
%ul.archive_requires%li#requires iMac
%li#requires Windows
%li#requires Linux
%li#requires Seu
%li#tools Chair
%ul.archive_requires%li#requires comfortable
%li#requires uncomfortable
then open style.css.sass file and write style code