@extends('layouts.vertical', ['title' => 'Scrollbar', 'sub_title' => 'Extended', 'mode' => $mode ?? '', 'demo' => $demo ?? '']) @section('content')
Tailwind CSS works by scanning all of your HTML files, JavaScript components, and any other templates for class names, generating the corresponding styles and then writing them to a static CSS file.
It's fast, flexible, and reliable — with zero-runtime.
Over 500+ professionally designed, fully responsive, expertly crafted component examples you can drop into your Tailwind projects and customize to your heart’s content.
Tailwind CSS is incredibly performance focused and aims to produce the smallest CSS file possible by only generating the CSS you are actually using in your project.
Combined with minification and network compression, this usually leads to CSS files that are less than 10kB, even for large projects. For example, Netflix uses Tailwind for Netflix Top 10 and the entire website delivers only 6.5kB of CSS over the network.
With CSS files this small, you don’t have to worry about complex solutions like code-splitting your CSS for each page, and can instead just ship a single small CSS file that’s downloaded once and cached until you redeploy your site.
<div class="bg-gray-800 text-sm text-white rounded-md p-4 dark:bg-white dark:text-gray-800" role="alert">
<span class="font-bold">Dark</span> alert! You should check in on some of those fields below.
</div>
<div class="bg-gray-500 text-sm text-white rounded-md p-4" role="alert">
<span class="font-bold">Secondary</span> alert! You should check in on some of those fields below.
</div>
<div class="bg-primary text-sm text-white rounded-md p-4" role="alert">
<span class="font-bold">Info</span> alert! You should check in on some of those fields below.
</div>
<div class="bg-green-500 text-sm text-white rounded-md p-4" role="alert">
<span class="font-bold">Success</span> alert! You should check in on some of those fields below.
</div>
<div class="bg-red-500 text-sm text-white rounded-md p-4" role="alert">
<span class="font-bold">Danger</span> alert! You should check in on some of those fields below.
</div>
<div class="bg-primary text-sm text-white rounded-md p-4" role="alert">
<span class="font-bold">Warning</span> alert! You should check in on some of those fields below.
</div>
SimpleBar
does NOT implement a custom scroll
behaviour. It keeps the
native
SimpleBar uses pure CSS to style the scrollbar. You can easily customize it as you want! Or even have multiple style on the same page...or just keep the default style ("Mac OS" scrollbar style).
Only 6kb minified. SimpleBar doesn't use Javascript to handle scrolling. You keep the performances/behaviours of the native scroll.
SimpleBar has been tested on the following browsers: Chrome, Firefox, Safari, Edge, IE11.
<div class="bg-gray-800 text-sm text-white rounded-md p-4 dark:bg-white dark:text-gray-800" role="alert">
<span class="font-bold">Dark</span> alert! You should check in on some of those fields below.
</div>
<div class="bg-gray-500 text-sm text-white rounded-md p-4" role="alert">
<span class="font-bold">Secondary</span> alert! You should check in on some of those fields below.
</div>
<div class="bg-primary text-sm text-white rounded-md p-4" role="alert">
<span class="font-bold">Info</span> alert! You should check in on some of those fields below.
</div>
<div class="bg-green-500 text-sm text-white rounded-md p-4" role="alert">
<span class="font-bold">Success</span> alert! You should check in on some of those fields below.
</div>
<div class="bg-red-500 text-sm text-white rounded-md p-4" role="alert">
<span class="font-bold">Danger</span> alert! You should check in on some of those fields below.
</div>
<div class="bg-primary text-sm text-white rounded-md p-4" role="alert">
<span class="font-bold">Warning</span> alert! You should check in on some of those fields below.
</div>
Just use data attribute
data-simplebar data-simplebar-direction='rtl'
and add
max-height: **px
oh fix height
SimpleBar
does NOT implement a custom scroll
behaviour. It keeps the
native
overflow: auto
scroll and
only
replace
the scrollbar visual appearance.
SimpleBar uses pure CSS to style the scrollbar. You can easily customize it as you want! Or even have multiple style on the same page...or just keep the default style ("Mac OS" scrollbar style).
Only 6kb minified. SimpleBar doesn't use Javascript to handle scrolling. You keep the performances/behaviours of the native scroll.
SimpleBar has been tested on the following browsers: Chrome, Firefox, Safari, Edge, IE11.
Just use data attribute
data-simplebar
and add
max-height: **px
oh fix height
SimpleBar
does NOT implement a custom scroll
behaviour. It keeps the
native
overflow: auto
scroll and
only
replace
the scrollbar visual appearance.
SimpleBar uses pure CSS to style the scrollbar. You can easily customize it as you want! Or even have multiple style on the same page...or just keep the default style ("Mac OS" scrollbar style).
Only 6kb minified. SimpleBar doesn't use Javascript to handle scrolling. You keep the performances/behaviours of the native scroll.
SimpleBar has been tested on the following browsers: Chrome, Firefox, Safari, Edge, IE11.
Just use data attribute
data-simplebar data-simplebar-primary
and add
max-height: **px
oh fix height
SimpleBar
does NOT implement a custom scroll
behaviour. It keeps the
native
overflow: auto
scroll and
only
replace
the scrollbar visual appearance.
SimpleBar uses pure CSS to style the scrollbar. You can easily customize it as you want! Or even have multiple style on the same page...or just keep the default style ("Mac OS" scrollbar style).
Only 6kb minified. SimpleBar doesn't use Javascript to handle scrolling. You keep the performances/behaviours of the native scroll.
SimpleBar has been tested on the following browsers: Chrome, Firefox, Safari, Edge, IE11.