Previous Message
Next Message

Style Object tag svg

Sent by Tom Livingston on 12 July 2016 01:01


Can't the svg code be put on the page without the use of <object>?

I came across this:
http://thoughtfulweb.com/thoughts/on/the-best-way-to-add-an-svg-image-to-your-website

and it mentions putting the svg code inline and that this is how you can
target it with css...
"The first important thing to note is the SVG is inline. If the SVG is not
inline then you can not target it with CSS."
that seems more straight forward and logical to me.


On Mon, Jul 11, 2016 at 7:35 PM, Crest Christopher <
[EMAIL-REMOVED]> wrote:

> .class #svg-object body <class of path in svg> ?
>
> Karl DeSaulniers [EMAIL-REMOVED]>
>> Sunday, July 10, 2016 10:58 PM
>> if your talking about styling the contents of the object tag, you would
>> have include the body tag of the object tag kind of like an iframe.
>>
>> .styleclass #svgobj body .childelementclass #childelement
>>
>> Best,
>>
>> Karl DeSaulniers
>> Design Drumm
>> http://designdrumm.com
>>
>>


-- 

Tom Livingston | Senior Front End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com


#663399
______________________________________________________________________
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: