Previous Message
Next Message

Style Object tag svg

Sent by Crest Christopher on 13 July 2016 23:11


It requires the SVG to be embedded into the markup; I suppose <object 
id> is my only solution.  I have SVG with too many paths that will add 
too much overhead to the markup.

> Tom Livingston [EMAIL-REMOVED]>
> Wednesday, July 13, 2016 4:55 PM
> Updated again. Sorry. My mistake. Just the class is working.
> (I had left the style embedded inside the svg, so using "circle.st0" was
> just more specific.)
>
> Tom Livingston [EMAIL-REMOVED]>
> Wednesday, July 13, 2016 4:50 PM
> Updated to style the circles as well. Have to specify "circle.st0" for 
> this
> to work in chrome. Just the class didn't seem to work.
>
>
>
> Tom Livingston [EMAIL-REMOVED]>
> Wednesday, July 13, 2016 4:34 PM
> It's pretty easy. Blue is done with css in the head.
>
> http://tomliv.com/svg/
>
>
> Tom Livingston [EMAIL-REMOVED]>
> Wednesday, July 13, 2016 4:18 PM
>
> As opposed to adding an svg using <img src="">
>
>
>
> Tom Livingston [EMAIL-REMOVED]>
> Wednesday, July 13, 2016 4:17 PM
> On Wed, Jul 13, 2016 at 3:10 PM, Crest Christopher <
>
> He's loading an svg by putting the svg code in the html and providing a
> method of falling back to a png. He is styling the svg with css.
>
>
>

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: