Skip to main content

container

Function container 

Source
pub fn container(
    max: impl Into<MaxWidth>,
    padding: impl Into<PaddingInline>,
) -> Style
Expand description

A block no wider than max, centered, with padding on both sides.