0

我怎样才能从 zencoding 得到这个输出

<div class="span1"><img src="/images/1.png" alt="" /></div>
<div class="span2"><img src="/images/2.png" alt="" /></div>
4

1 回答 1

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/

于 2013-05-07T09:33:50.557 回答