Skip to content

Overflow

Below, utility classes to apply overflow property.

ClassProperties
.overflow-hiddenoverflow: hidden;
.overflow-autooverflow: auto;
.overflow-scrolloverflow: scroll;
.overflow-visibleoverflow: visible;
.overflow-x-hiddenoverflow-x: hidden;
.overflow-x-autooverflow-x: auto;
.overflow-x-scrolloverflow-x: scroll;
.overflow-x-visibleoverflow-x: visible;
.overflow-y-hiddenoverflow-y: hidden;
.overflow-y-autooverflow-y: auto;
.overflow-y-scrolloverflow-y: scroll;
.overflow-y-visibleoverflow-y: visible;

Media Queries

overflow is supported by changing state on-the-fly! You can use it like this:

html
<div class="overflow-x-hidden overflow-y-scroll small:overflow-x-scroll small:overflow-y-hidden">...</div>

Released under the Beerware 🍺 License.