- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
http://codepen.io/mdrd88/pen/FAGhr
I seem to be having trouble with the fill property. I would like the color of the vector to be white, however, that does not seem to work. Although I can manipulate the height and width.
Thanks for your help!
Not sure but I think you’d need to embed the svg into the html, so you can target the nodes… like:
#bird {
fill: #fff;
}
Does that mean I would have to add the #bird class to the img? Sorry, this is new territory for me.
No…you can’t style parts of the `` element (AFAIK) like that even if it’s an svg image.
You have to use an `
https://css-tricks.com/using-svg/
and Chris’ codepen of that ….http://codepen.io/chriscoyier/pen/evcBu
Yes (what Paulie said), the bird ‘part’ is already in the svg: http://s.cdpn.io/3/kiwi.svg (view source)
0.0
Okay,I think i got it.