container
.container width:{Size? = null} \
height:{Size? = null} \
fullwidth:{Boolean = false} \
float:{Container.FloatAlignment? = null} \
fullspan:{Boolean = false} \
classname:{String? = null} \
foreground:{Color? = null} \
background:{Color? = null} \
border:{Color? = null} \
borderwidth:{Sizes? = null} \
borderstyle:{NodeStyle.BorderStyle? = null} \
alignment:{NodeStyle.Alignment? = null} \
textalignment:{NodeStyle.TextAlignment? = null} \
margin:{Sizes? = null} \
padding:{Sizes? = null} \
radius:{Sizes? = null} \
fontsize:{TextTransformData.Size? = null} \
fontweight:{TextTransformData.Weight? = null} \
fontstyle:{TextTransformData.Style? = null} \
fontvariant:{TextTransformData.Variant? = null} \
textdecoration:{TextTransformData.Decoration? = null} \
textcase:{TextTransformData.Case? = null} \
body:{MarkdownContent? = null}
-> NodeA general-purpose container that groups content.
Any active layout rules inherited by the parent (e.g. from align, row, column, grid) are reset inside this container.
Return
the new Container node
Parameters
- Optional
- Likely named
width of the container. No constraint if unset
- Optional
- Likely named
height of the container. No constraint if unset
- Optional
whether the container should take up the full width of the parent. Overridden by width. False if unset
- Optional
whether the container should span across all columns in a multi-column layout. False if unset
- Optional
CSS class name to apply to the container, if supported by the renderer. None if unset
- Likely a body argument
- Optional
content to group
- Optional
text color. Default if unset
- Optional
background color. Transparent if unset
- Optional
border color. Default if unset and borderwidth is set
- Optional
border width. Default if unset and border is set
- Optional
whitespace outside the content. None if unset
- Optional
whitespace around the content. None if unset
- Optional
corner (and border) radius. None if unset
- Optional
text decoration of the text. None if unset