Skip to content

Container Module

The Container module provides a flexible wrapper with configurable maximum widths and padding. It supports responsive breakpoints (desktop, widescreen, fullhd) and allows custom paddings via registered gap names.

Container content

Signature:

scss
@mixin use-container($paddings: ());

Example:

scss
@include termeh.use-container(("small", "medium", "large"));
Dependencies

Container module uses the following Termeh global var():

ComponentTypeUsageDefault
gapmacroNumberDefault container padding and bottom margin1.6em
containerdesktopNumberMax-width for desktop and smaller screens960px
containerwidescreenNumberMax-width for widescreen devices1200px
containerfullhdNumberMax-width for full-HD and larger screens1500px

Modifiers

  • .is-fullwidth → makes the container span 100% width
  • .is-<gap>-padded → applies a registered gap as spacing