开发者

Sencha Touch UI Button Icon: how to enable the use of the original color?

开发者 https://www.devze.com 2023-03-31 16:28 出处:网络
i created several buttons in a toolbar with custom icons. however, it turns out that these icons are all in black instead of their original 开发者_Go百科colors. how could I make it by using CSS?

i created several buttons in a toolbar with custom icons. however, it turns out that these icons are all in black instead of their original 开发者_Go百科colors. how could I make it by using CSS?

thanks!


Just apply a background colour to them using css, if you are properly applying the icons (with a mask), that should change its colour


Also: you can inspect and remove rules for the -webkit-mask, and replace them with background images.

0

精彩评论

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