css - YUI3 (JS) setStyle using vendor prefixes -


how use yui3's set style set -webkit-border-radius: 10px;?

example:

y.one('#mydiv').setstyle('-webkit-border-radius', '10'); 

should work.

i think missing 'px'

y.one('#mydiv').setstyle('-webkit-border-radius', '10'); 

should be

y.one('#mydiv').setstyle('-webkit-border-radius', '10px'); 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -