-
200922 Mar
Posted in Proposals
An interesting implementation has recently made its way into the latest Webkit nightlies – a detailed method of styling scrollbars using a combination of new pseudo-elements and pseudo-classes.
Although the new syntax can seem complicated at first, Webkits implementation gives authors the ability to completely alter the look and feel of scrollbars of overflow sections, listboxes, dropdown menus & textareas, and when used in conjunction with
border-imageand multiple backgrounds, the results can look beautiful.Whitepaper gives more details on the implementation.
You can skip to the end and leave a response.
-
Comments
-
01.
Wow, that’s an awful lot of code!
-
02.
Adam Luter says:Comment » March 23rd, 2009 at 1:32 am
Ironic, Safari was the last browser I’d expect to give a whitepaper on widget styling.
-
03.
Nostradamus says:Comment » March 25th, 2009 at 12:43 am
Let the record show that “I called it!”
I also called it on the basic idea behind cufon.
I hereby predict apple or opera will implement proper (N.E.S.-like) “sprites” before the end of next year. -
04.
To me, that looks like styling a scrollbar The No Way
Seriously, 486 lines of code to alter a scrollbar ?? Gimme a break…..thats not development LOLOLBut, I guess they have to start somewhere…
-
05.
The new property like overflow-x:scroll is helping me to solve some issues when I used iframe.
-
06.
So Webkit/Safari now mimics Microsoft? You’re serious? We could style scrollbars in IE for years and it was never really nice.
What’s next? Conditional Comments would be a very nice idea to copy from Microsoft, maybe the only one. Please don’t copy hasLayout ;-)
-
01.
TAG CLOUD
acid3
advanced layout
advanced layout module
background
border
Browsers
color
css
CSS3.info
CSS WG
csswg
developer tools
disabled
enabled
Feedback
firefox
firefox 3.1
flexible box layout
fonts
generated content
grid positioning
HSLA
HTML5
ie6
ie7
jina bolton
jquery
media player
Multicolumn Layout
News
Opera
Opera Dragonfly
presentations
RGBA
safari
Selectors
slides
SVG
text rendering
W3C
wasp
Web Fonts
webkit
windows

Leave a Comment