mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
2.1 KiB
2.1 KiB
| extends | title |
|---|---|
| _layouts.markdown | Visibility |
Visibility
Utilities for controlling the visible of an element.
Visible Default
Use .visible to make an element visible. This will typically be used as a reset when using the .invisible utility.
@component('_partials.code-sample', ['class' => 'flex justify-center'])
@endcomponentInvisible
Use .invisible to hide an element, but still maintain it's space.
@component('_partials.code-sample', ['class' => 'flex justify-center'])
@endcomponentResponsive
To apply an overflow utility only at a specific breakpoint, add a {breakpoint}: prefix to the existing class name. For example, adding the class md:overflow-scroll to an element would apply the overflow-scroll utility at medium screen sizes and above.
For more information about Tailwind's responsive design features, check out the Responsive Design documentation.
@component('_partials.responsive-code-sample') @slot('none')