Hacker News new | past | comments | ask | show | jobs | submit login

This uses JavaScript, not CSS.

CSS on the other hand, does have a built-in way to do gradients (CSS3+):

    *-colors: #color1 #color2 #color3 #color4 ect
For example, this demo makes use of border-colors gradients and border-radius: http://code.eligrey.com/css3/border-colors/styled.html (Only shows gradient in browsers that support CSS3 like FF3 & Safari 3)



While that’s really neat (and something I didn’t know about) it’s not something that makes an appearance in either the CSS3 Colors or Backgrounds & Borders specs. Call it a vendor specific CSS extension rather than CSS3 for the time being.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: