假设您有 zen 片段:
div#container>(div.panel>h2{this is the header inside panel $})*3
它将评估为:
<div id="container">
<div class="panel">
<h2>this is the header inside panel 1</h2>
</div>
<div class="panel">
<h2>this is the header inside panel 1</h2>
</div>
<div class="panel">
<h2>this is the header inside panel 1</h2>
</div>
</div>
有没有办法让它评估将相乘元素的索引传递给它的子元素?
谢谢。