Overflow - Tailwind CSS
Maybe your like
| Class | Styles |
|---|---|
| overflow-auto | overflow: auto; |
| overflow-hidden | overflow: hidden; |
| overflow-clip | overflow: clip; |
| overflow-visible | overflow: visible; |
| overflow-scroll | overflow: scroll; |
| overflow-x-auto | overflow-x: auto; |
| overflow-y-auto | overflow-y: auto; |
| overflow-x-hidden | overflow-x: hidden; |
| overflow-y-hidden | overflow-y: hidden; |
| overflow-x-clip | overflow-x: clip; |
| overflow-y-clip | overflow-y: clip; |
| overflow-x-visible | overflow-x: visible; |
| overflow-y-visible | overflow-y: visible; |
| overflow-x-scroll | overflow-x: scroll; |
| overflow-y-scroll | overflow-y: scroll; |
Examples
Showing content that overflows
Use the overflow-visible utility to prevent content within an element from being clipped:
Note that any content that overflows the bounds of the element will then be visible.
Hiding content that overflows
Use the overflow-hidden utility to clip any content within an element that overflows the bounds of that element:
Scrolling if needed
Use the overflow-auto utility to add scrollbars to an element in the event that its content overflows the bounds of that element:
Scroll vertically
Unlike overflow-scroll, which always shows scrollbars, this utility will only show them if scrolling is necessary.
Scrolling horizontally if needed
Use the overflow-x-auto utility to allow horizontal scrolling if needed:
Scroll horizontally
Scrolling vertically if needed
Use the overflow-y-auto utility to allow vertical scrolling if needed:
Scroll vertically
Scrolling horizontally always
Use the overflow-x-scroll utility to allow horizontal scrolling and always show scrollbars unless always-visible scrollbars are disabled by the operating system:
Scroll horizontally
Scrolling vertically always
Use the overflow-y-scroll utility to allow vertical scrolling and always show scrollbars unless always-visible scrollbars are disabled by the operating system:
Scroll vertically
Scrolling in all directions
Use the overflow-scroll utility to add scrollbars to an element:
Scroll vertically and horizontally
Unlike overflow-auto, which only shows scrollbars if they are necessary, this utility always shows them. Note that some operating systems (like macOS) hide unnecessary scrollbars regardless of this setting.
Responsive design
Prefix an overflow utility with a breakpoint variant like md: to only apply the utility at medium screen sizes and above:
<div class="overflow-auto md:overflow-scroll ..."> <!-- ... --></div>Learn more about using variants in the variants documentation.
Tag » How To Make A Scroll
-
3 Ways To Make A Scroll - WikiHow
-
How To Make A Paper Scroll: DIY Ancient Scroll Craft - WikiHow
-
How To Make A Scroll | DIY Scroll Invitations - YouTube
-
How To Make A Medieval Scroll - YouTube
-
How To Make A Scroll Craft - EHow
-
How To Make A Scroll - Craftsuprint
-
3 Ways To Make A Scroll | Valentines Day Coloring Page, Bible School ...
-
Pin On Christmas Ideas - Pinterest
-
How To Make A Scroll – Dartmouth Ancient Books Lab
-
How To Create A Scroll Indicator - W3Schools
-
How To Create A Custom Scrollbar - W3Schools
-
DIY Paper Scroll Sign - A Girl And A Glue Gun
-
15 Minute Craft: Paper Towel Roll Valentine Scroll - DIY Inspired