diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)

Mar222009

Style scrollbars with WebKit

WebKit now supports styling of the scrollbars in overflow sections, listboxes, dropdown menus and textareas. The scrollbar pseudo-element indicates that an object should use a custom scrollbar. When this pseudo element is present, WebKit will turn off its built-in scrollbar rendering and just use the information provided in CSS. The screenshot is generated with following CSS:

::-webkit-scrollbar {
    width: 13px;
    height: 13px;
}

More infoStyling Scrollbars

Source:→ Ajaxian

Share This Story, Choose Your Platform!

Do NOT follow this link or you will be banned from the site!