層疊屬性 - Attribute Stacking

層疊屬性讓你可以一次定義多個相同屬性,他們最終會被編譯在一起

Avane

a(href='http://host', href='/path', href='/file')

a(class='ts', class='large', class='button')

div(style='width: 100%', style='height: 50%', style='background: red')

渲染效果

<a href="http://host/path/file"></a>
<a class="ts large button"></a>
<div style="width: 100%; height: 50%; background: red"></div>

results matching ""

    No results matching ""