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.
精彩评论