如何从zencoding
获取此输出<div class="span1"><img src="/images/1.png" alt="" /></div>
<div class="span2"><img src="/images/2.png" alt="" /></div>
答案 0 :(得分:1)
div.span$*2>img[src=/images/$.png][alt]
产生
<div class="span1"><img src="/images/1.png" alt="" /></div>
<div class="span2"><img src="/images/2.png" alt="" /></div>
有关语法说明,请参阅https://code.google.com/p/zen-coding/。