开发者

Changing background color of jquery-ui button?

开发者 https://www.devze.com 2023-01-10 03:44 出处:网络
I\'m using jquery-ui for buttons. The default theme looks great, but I\'d like to apply a different background color to a few specific buttons. Is there a way I can easily add another css class to my

I'm using jquery-ui for buttons. The default theme looks great, but I'd like to apply a different background color to a few specific buttons. Is there a way I can easily add another css class to my buttons to just change the bg color of them, without changing any other properties of the开发者_开发百科 button?

Thanks


Just add it to the button's HTML and when the button is created it will get all of the existing classes.

0

精彩评论

暂无评论...
验证码 换一张
取 消