Customizes the scrollbar style for elements with scrollable overflow.
::-webkit-scrollbar
to style the scrollbar element.::-webkit-scrollbar-track
to style the scrollbar track (the background of the scrollbar).::-webkit-scrollbar-thumb
to style the scrollbar thumb (the draggable element).<div class="custom-scrollbar">
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.<br />
Iure id exercitationem nulla qui repellat laborum vitae, <br />
molestias tempora velit natus. Quas, assumenda nisi. <br />
Quisquam enim qui iure, consequatur velit sit?
</p>
</div>
.custom-scrollbar {
height: 70px;
overflow-y: scroll;
}
.custom-scrollbar::-webkit-scrollbar {
width: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #1E3F20;
border-radius: 12px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #4A7856;
border-radius: 12px;
}
CSS, Visual
Hides scrollbars on an element, while still allowing it to be scrollable.
CSS, Visual
Creates a styled checkbox with animation on state change.
CSS, Visual
Applies styles to an element when in fullscreen mode.