in jade one can write:
div.container
and it compiles into:
<div class="container"></div>
But what if you have several classes like:
<div class="span 4"><div>
I have written it like this:
div(class="span 4")
But I am thinking: Is there not a better way of doing it in jade?
question from:https://stackoverflow.com/questions/9750749/jade-node-js-more-than-one-class-on-an-element