How do I use YUI3's set style to set something like -webkit-border-radius: 10px;
?
example:
Y.one('#mydiv').setStyle('-webkit-border-radius', '10');
Should work.
I think you are missing the 'px' for
Y.one('#mydiv').setStyle('-webkit-border-radius', '10');
Should be
Y.one('#mydiv').setStyle('-webkit-border-radius', '10px');