π Overflow
The overflow
utility allows you to define how content that exceeds the bounds of its container is handled.
It supports both static and responsive variants generated through mixins and loops.
π§± Naming convention
Section titled βπ§± Naming conventionβ.u--overflow-{value}.u--overflow-{breakpoint}-{value}
β When to use
Section titled ββ When to useβUse this utility when:
- You want to hide or reveal overflowing content
- You need to control scroll behavior or clipping
- You want to adjust overflow handling at different breakpoints
π§ͺ Responsive usage
Section titled βπ§ͺ Responsive usageβThis utility supports responsive variants, using breakpoint prefixes like:
desktop
, laptop
, tabletl
, tabletm
, tablets
, mobile
.
β How to use
Section titled ββ How to useβYou can apply them directly in HTML:
<div class="u--overflow-hidden u--overflow-tabletl-visible"> <!-- Content --></div>
Or extend them in SCSS if you have a custom class:
.c--card-a { @extend .u--overflow-hidden; @extend .u--overflow-tabletl-visible;}