
- Tailwind CSS - Home
- Tailwind CSS - Roadmap
- Tailwind CSS - Introduction
- Tailwind CSS - Installation
- Tailwind CSS - Editor Setup
- Tailwind CSS - Utility-First Fundamentals
- Tailwind CSS - Hover, Focus, and Other States
- Tailwind CSS - Responsive Design
- Tailwind CSS - Dark Mode
- Tailwind CSS - Reusing Styles
- Tailwind CSS - Adding Custom Styles
- Tailwind CSS - Functions & Directives
- Tailwind CSS - Customization
- Tailwind CSS - Configuration
- Tailwind CSS - Content Configuration
- Tailwind CSS - Theme Configuration
- Tailwind CSS - Customizing Screens
- Tailwind CSS - Customizing Colors
- Tailwind CSS - Customizing Spacing
- Tailwind CSS - Plugins
- Tailwind CSS - Presets
- Tailwind CSS - Base Styles
- Tailwind CSS - Preflight
- Tailwind CSS - Layout
- Tailwind CSS - Aspect Ratio
- Tailwind CSS - Container
- Tailwind CSS - Columns
- Tailwind CSS - Break After
- Tailwind CSS - Break Before
- Tailwind CSS - Break Inside
- Tailwind CSS - Box Decoration Break
- Tailwind CSS - Box Sizing
- Tailwind CSS - Display
- Tailwind CSS - Floats
- Tailwind CSS - Clear
- Tailwind CSS - Isolation
- Tailwind CSS - Object Fit
- Tailwind CSS - Object Position
- Tailwind CSS - Overflow
- Tailwind CSS - Overscroll Behavior
- Tailwind CSS - Position
- Tailwind CSS - Top / Right / Bottom / Left
- Tailwind CSS - Visibility
- Tailwind CSS - Z-Index
- Tailwind CSS - Flexbox & Grid
- Tailwind CSS - Flex Basis
- Tailwind CSS - Flex Direction
- Tailwind CSS - Flex Wrap
- Tailwind CSS - Flex
- Tailwind CSS - Flex Grow
- Tailwind CSS - Flex Shrink
- Tailwind CSS - Order
- Tailwind CSS - Grid Template Columns
- Tailwind CSS - Grid Column Start / End
- Tailwind CSS - Grid Template Rows
- Tailwind CSS - Grid Row Start / End
- Tailwind CSS - Grid Auto Flow
- Tailwind CSS - Grid Auto Columns
- Tailwind CSS - Grid Auto Rows
- Tailwind CSS - Gap
- Tailwind CSS - Justify Content
- Tailwind CSS - Justify Items
- Tailwind CSS - Justify Self
- Tailwind CSS - Align Content
- Tailwind CSS - Align Items
- Tailwind CSS - Align Self
- Tailwind CSS - Place Content
- Tailwind CSS - Place Items
- Tailwind CSS - Place Self
- Tailwind CSS - Spacing
- Tailwind CSS - Padding
- Tailwind CSS - Margin
- Tailwind CSS - Space Between
- Tailwind CSS - Sizing
- Tailwind CSS - Width
- Tailwind CSS - Min-Width
- Tailwind CSS - Max-Width
- Tailwind CSS - Height
- Tailwind CSS - Min-Height
- Tailwind CSS - Max-Height
- Tailwind CSS - Size
- Tailwind CSS - Typography
- Tailwind CSS - Font Family
- Tailwind CSS - Font Size
- Tailwind CSS - Font Smoothing
- Tailwind CSS - Font Style
- Tailwind CSS - Font Weight
- Tailwind CSS - Font Variant Numeric
- Tailwind CSS - Letter Spacing
- Tailwind CSS - Line Clamp
- Tailwind CSS - Line Height
- Tailwind CSS - List Style Image
- Tailwind CSS - List Style Position
- Tailwind CSS - List Style Type
- Tailwind CSS - Text Align
- Tailwind CSS - Text Color
- Tailwind CSS - Text Decoration
- Tailwind CSS - Text Decoration Color
- Tailwind CSS - Text Decoration Style
- Tailwind CSS - Text Decoration Thickness
- Tailwind CSS - Text Underline Offset
- Tailwind CSS - Text Transform
- Tailwind CSS - Text Overflow
- Tailwind CSS - Text Wrap
- Tailwind CSS - Text Indent
- Tailwind CSS - Vertical Align
- Tailwind CSS - Whitespace
- Tailwind CSS - Word Break
- Tailwind CSS - Hyphens
- Tailwind CSS - Content
- Tailwind CSS - Backgrounds
- Tailwind CSS - Background Attachment
- Tailwind CSS - Background Clip
- Tailwind CSS - Background Color
- Tailwind CSS - Background Origin
- Tailwind CSS - Background Position
- Tailwind CSS - Background Repeat
- Tailwind CSS - Background Size
- Tailwind CSS - Background Image
- Tailwind CSS - Gradient Color Stops
- Tailwind CSS - Borders
- Tailwind CSS - Border Radius
- Tailwind CSS - Border Width
- Tailwind CSS - Border Color
- Tailwind CSS - Border Style
- Tailwind CSS - Divide Width
- Tailwind CSS - Divide Color
- Tailwind CSS - Divide Style
- Tailwind CSS - Outline Width
- Tailwind CSS - Outline Color
- Tailwind CSS - Outline Style
- Tailwind CSS - Outline Offset
- Tailwind CSS - Ring Width
- Tailwind CSS - Ring Color
- Tailwind CSS - Ring Offset Width
- Tailwind CSS - Ring Offset Color
- Tailwind CSS - Effects
- Tailwind CSS - Box Shadow
- Tailwind CSS - Box Shadow Color
- Tailwind CSS - Opacity
- Tailwind CSS - Mix Blend Mode
- Tailwind CSS - Background Blend Mode
- Tailwind CSS - Filters
- Tailwind CSS - Blur
- Tailwind CSS - Brightness
- Tailwind CSS - Contrast
- Tailwind CSS - Drop Shadow
- Tailwind CSS - Grayscale
- Tailwind CSS - Hue Rotate
- Tailwind CSS - Invert
- Tailwind CSS - Saturate
- Tailwind CSS - Sepia
- Tailwind CSS - Backdrop Blur
- Tailwind CSS - Backdrop Brightness
- Tailwind CSS - Backdrop Contrast
- Tailwind CSS - Backdrop Grayscale
- Tailwind CSS - Backdrop Hue Rotate
- Tailwind CSS - Backdrop Invert
- Tailwind CSS - Backdrop Opacity
- Tailwind CSS - Backdrop Saturate
- Tailwind CSS - Backdrop Sepia
- Tailwind CSS - Tables
- Tailwind CSS - Border Collapse
- Tailwind CSS - Border Spacing
- Tailwind CSS - Table Layout
- Tailwind CSS - Caption Side
- Tailwind CSS - Transitions & Animation
- Tailwind CSS - Transition Property
- Tailwind CSS - Transition Duration
- Tailwind CSS - Transition Timing Function
- Tailwind CSS - Transition Delay
- Tailwind CSS - Animation
- Tailwind CSS - Transform
- Tailwind CSS - Scale
- Tailwind CSS - Rotate
- Tailwind CSS - Translate
- Tailwind CSS - Skew
- Tailwind CSS - Transform Origin
- Tailwind CSS - Interactivity
- Tailwind CSS - Accent Color
- Tailwind CSS - Appearance
- Tailwind CSS - Cursor
- Tailwind CSS - Caret Color
- Tailwind CSS - Pointer Events
- Tailwind CSS - Resize
- Tailwind CSS - Scroll Behavior
- Tailwind CSS - Scroll Margin
- Tailwind CSS - Scroll Padding
- Tailwind CSS - Scroll Snap Align
- Tailwind CSS - Scroll Snap Stop
- Tailwind CSS - Scroll Snap Type
- Tailwind CSS - Touch Action
- Tailwind CSS - User Select
- Tailwind CSS - Will Change
- Tailwind CSS - SVG
- Tailwind CSS - Fill
- Tailwind CSS - Stroke
- Tailwind CSS - Stroke Width
- Tailwind CSS - Accessibility
- Tailwind CSS - Screen Readers
- Tailwind CSS - Forced Color Adjust
- Tailwind CSS - Bonus
- Tailwind CSS - Using with Preprocessors
- Tailwind CSS - Optimizing for Production
- Tailwind CSS - References
- Tailwind CSS - Core Concepts
- Tailwind CSS - Customization
- Tailwind CSS - Layout
- Tailwind CSS - Flexbox & Grid
- Tailwind CSS - Spacing
- Tailwind CSS - Sizing
- Tailwind CSS - Typography
- Tailwind CSS - Backgrounds
- Tailwind CSS - Borders
- Tailwind CSS - Effects
- Tailwind CSS - Filters
- Tailwind CSS - Tables
- Tailwind CSS - Transitions & Animation
- Tailwind CSS - Transforms
- Tailwind CSS - Interactivity
- Tailwind CSS - Resources
- Tailwind CSS - Discussion
- Tailwind CSS - Useful Resources
Tailwind CSS - Overflow
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow classes
The following is the list of Tailwind CSS Overflow classes that provides an effective way of handling content that is too large.
class | CSS Properties |
---|---|
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; |
Functionality of Tailwind CSS Overflow classes
- overflow-auto: This class replaces the CSS overflow: auto; property. This class adds a scrollbar when content overflows the container.
- overflow-hidden: This class replaces the CSS overflow: hidden; property. This class hides the content that overflows the container.
- overflow-clip: This class replaces the CSS overflow: clip; property. This class clips the content that overflows the container and will not be visible.
- overflow-visible: This class replaces the CSS overflow: visible; property. This default value doesnt clip the overflow content and keeps it visible.
- overflow-scroll: This class replaces the CSS overflow: scroll; property. This class adds a scrollbar whether the content overflows or not.
- overflow-x-auto: This class replaces the CSS overflow-x: auto; property. This class adds a horizontal scrollbar if the content overflows horizontally.
- overflow-y-auto: This class replaces the CSS overflow-y: auto; property. This class adds a vertical scrollbar if the content overflows vertically.
- overflow-x-hidden: This class replaces the CSS overflow-x: hidden; property. This class hides the horizontally overflow content.
- overflow-y-hidden: This class replaces the CSS overflow-y: hidden; property. This class hides the vertical overflow content.
- overflow-x-clip: This class replaces the CSS overflow-x: clip; property. This class clips the horizontal overflow content.
- overflow-y-clip: This class replaces the CSS overflow-y: clip; property. This class clips the vertical overflow content.
- overflow-x-visible: This class replaces the CSS overflow-x: visible; property. This class ensures that the horizontal content remains visible.
- overflow-y-visible: This class replaces the CSS overflow-y: visible; property. This class ensures that the vertical content remains visible.
- overflow-x-scroll: This class replaces the CSS overflow-x: scroll; property. This class adds a horizontal scrollbar.
- overflow-y-scroll: This class replaces the CSS overflow-y: scroll; property. This class adds a vertical scrollbar.
Tailwind CSS Overflow class Examples
The following examples will illustrate the Tailwind CSS Overflow class utility.
Tailwind CSS Overflow Auto class
The below example illustrates the use of Tailwind CSS Overflow Auto class.
Example
Tailwind CSS Overflow Auto class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow Hidden class
The below example illustrates the use of Tailwind CSS Overflow Hidden class.
Example
Tailwind CSS Overflow Hidden class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow Clip class
The below example illustrates the use of Tailwind CSS Overflow Clip class.
Example
Tailwind CSS Overflow Clip class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow Visible class
The below example illustrates the use of Tailwind CSS Overflow Visible class.
Example
Tailwind CSS Overflow Visible class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow Scroll class
The below example illustrates the use of Tailwind CSS Overflow Scroll class.
Example
Tailwind CSS Overflow Scroll class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow Axis Auto
The below example illustrates the use of Tailwind CSS Overflow-x-auto & Overflow-y-auto classes.
Example
Tailwind CSS Overflow-x-auto class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow-y-auto class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow Axis Hidden
The below example illustrates the use of Tailwind CSS Overflow-x-hidden & Overflow-y-hidden classes.
Example
Tailwind CSS Overflow-x-hidden class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow-y-hidden class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow Axis Clips
The below example illustrates the use of Tailwind CSS Overflow-x-clip & Overflow-y-clip classes.
Example
Tailwind CSS Overflow-x-clip class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow-y-clip class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow Axis Visibility
The below example illustrates the use of Tailwind CSS Overflow-x-visible & Overflow-y-visible classes.
Example
Tailwind CSS Overflow-x-visible class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow-y-visible class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow Axis Scroll
The below example illustrates the use of Tailwind CSS Overflow-x-scroll & Overflow-y-scroll classes.
Example
Tailwind CSS Overflow-x-scroll class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.
Tailwind CSS Overflow-y-scroll class
Tailwind CSS Overflow is a utility class that provides an effective way of handling the content that overflows the boundaries of its container. It provides a way to clip the content or add a scroll bar.