Name
<layer>
Synopsis
<layer>
...
</layer>
Description
Define a layer.
Attributes
-
above=name Place this layer above the named layer.
-
background=url Specify a background image for the layer.
-
below=name Place this layer below the named layer.
-
bgcolor=color Specify the background color for the layer.
-
class=name Specify a style class controlling the appearance of this tag.
-
clip=edge Define the layer’s clipping region, in pixels. If
leftandtopare 0, they may be omitted.-
left=n Define, in pixels, the position of the layer’s left edge from the containing line of text.
-
name=name Provide a name for the layer.
-
src=url Supply the content of the layer from another document.
-
style=style Specify an inline style for this tag.
-
top=n Define, in pixels, the position of the layer’s top edge from the containing line of text.
-
visibility=value Determine whether to
showthe layer,hidethe layer, orinheritthe visibility attribute from a containing layer.-
width=n Define the width, in pixels, of the layer.
-
z-index=n Specify the layer’s position in the stacking order.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access