Tuesday, 15 June 2010

css - How can I color fill an SVG image that is a background? -



css - How can I color fill an SVG image that is a background? -

i have svg image background element. need set color of image, can't seem figure out how that. css code is:

.myclass { background-image:url(path/to/my/image) no-repeat; display: block; width: 5em; height: 5em; }

did seek doing in css? not sure if work don't have fiddle fiddle with.

.myclass { background: reddish (path/to/my/image) no-repeat; display: block; width: 5em; height: 5em; }

css svg

No comments:

Post a Comment