0.1.0-beta.3
RU
Getting startedEssentialsTry itReference

Essentials›Layers

Layers

Glass sees the glass under it, so stacking works the way it does with real sheets.

Who is on top

layer picks the order, higher wins. It is z-index with a shorter name, so plain z-index works too. On a tie the later element in the document is on top.

<edinstvo-glass layer="1"></edinstvo-glass>
<edinstvo-glass layer="2"></edinstvo-glass>