Answers for "how to style scroll div"

15

html div scroll

<div id="" style="overflow:scroll; height:400px;">
Posted by: Guest on February-15-2020
6

how to style scrollbar in div

#style-1::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

#style-1::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

#style-1::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}
Posted by: Guest on July-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language