6 ms·
Zen coding syntax is fantastic, it makes generating HTML in my editor a breeze. Stick to ">". That's the standard CSS for indicating a child element. e.g. "d
by calvin 14y ago
Zen coding syntax is fantastic, it makes generating HTML in my editor a breeze.
Stick to ">". That's the standard CSS for indicating a child element.
e.g. "div.myclass > h1" indicates a div with class "myclass" and a child h1 element. In zen, it outputs:
<div class="myclass">
<h1></h1>
</div>
http://www.w3.org/TR/CSS2/selector.html#pattern-matching http://www.w3.org/TR/CSS2/selector.html#pattern-matching