::-webkit-scrollbar { }
::-webkit-scrollbar-track { }
::-webkit-scrollbar-thumb { }
::-webkit-scrollbar-thumb:hover { }
div::-webkit-scrollbar { }
Create custom scrollbars for page or elements. Can use different styling properties.
scroll-snap-align: ; start end center // how you want snapped item positioned
scroll-snap-type: ; x mandatory, y proximity, both mandatory // used on container to set snap control
scroll-snap-stop: ; normal always // always - scroll container always stops at possible snap positions
Set snap positions on scrolls.
overflow: ; // both
overflow-x: ; // horizontal only
overflow-y: ; // vertical only
Values:
visible
hidden
clip
scroll
auto
When content doesn't fit, make it scrollable.