Have you been searching for any thing which can change the design of navigation scroll-bar of your site. You might be wondering that how is it done? You should smile then, because finally you've arrived at the right place.
Changing the look and design of navigation scroll bar is not a hard task now. It's not hard because it can be customized very easily using CSS3 codes and another reason is I've already prepared a small stylesheet that will customize the look of navigation scroll bar whenever you site is opened.
CSS
::-webkit-scrollbar-thumb:horizontal{height:10px;background-color:#eab92e;} ::-webkit-scrollbar-thumb:vertical{ width:10px; background-color:#eab92e;/*box-shadow*/ -webkit-box-shadow:1px 1px 4px rgba(0,0,0,0.16); -moz-box-shadow:1px 1px 4px rgba(0,0,0,0.16); box-shadow:1px 1px 4px rgba(0,0,0,0.16); } ::-webkit-scrollbar{ width:15px; height:15px; background:#EBEBEB;/*box-shadow*/ -webkit-box-shadow:inset 1px 1px 4px rgba(0,0,0,0.13); -moz-box-shadow:inset 1px 1px 4px rgba(0,0,0,0.13); box-shadow:inset 1px 1px 4px rgba(0,0,0,0.13); }
Customize the Color
Replace the codes in yellow color with the any other color codes you want to be displayed in scroll-bar.
Playground For Advanced Learners
Yeah! got it right this is the playground for you by, where you can learn some more advanced things. So what are you waiting for start playing and start learning.
Final Words
Do not forget to show your gratitude by leaving your comments below. And yep this is very small post but I am confident that it has very great content including a mini-playground also for our beginner developers. So play with the codes and start learning the Css thing with me :-)
Great work suryakant..
ReplyDeleteThanks for given such a great design
Thanks For your appreciation Gaurav :)
DeleteThis is an awesome Blogger Blog, Keep writing Suryakant sao
ReplyDeleteYeah Sure my Friend :)
DeleteAwesome posts , I am loving it !
ReplyDeleteThanks for stopping by Alex :)
DeleteWish to see your comments again on my next post which I'm going to publish soon..
i neeed seven number scrool bar but i dont know how to find it please help me
ReplyDeleteHello Buddy! Add this code for seventh number scroll bar
Delete/* seventh Style Scroll Bar */
::-webkit-scrollbar
{
width: 10px;
background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb
{
background-color: #F90;
background-image: -webkit-linear-gradient(45deg,
rgba(255, 255, 255, .2) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, .2) 50%,
rgba(255, 255, 255, .2) 75%,
transparent 75%,
transparent)
}
Hi Suryakant sao. I Am Daniyal..I Also Need 6 Number Style Would You Please Like To Give Me. It Is Difficult For Me To Put Accurate Code From There. Thank You
ReplyDeleteHey! Daniyal that's not a big deal. Here's the code
Delete::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #F5F5F5;
}
::-webkit-scrollbar
{
width: 10px;
background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb
{
background-color: #0ae;
background-image: -webkit-gradient(linear, 0 0, 0 100%,
color-stop(.5, rgba(255, 255, 255, .2)),
color-stop(.5, transparent), to(transparent));
}
The post is amazing...till you dont try to read it with Firefox. Good job though.
ReplyDeleteNothings seems wrong with Firefox, I guess you might be using old age firefox
DeleteHey guys great information for customize navigation scrollbar with CSS3
ReplyDeleteWebdesign Services
great post! thanks
ReplyDelete