Previous Message
Next Message

Style Object tag svg

Sent by Tom Livingston on 13 July 2016 04:04


https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/SVG_and_CSS



On Tuesday, July 12, 2016, Crest Christopher [EMAIL-REMOVED]>
wrote:

> I only said, it was a post to make it easier to find I understand it
> meant; likes.
>
>    you can only set the properties for the entire symbol with this
>    method. So, if you have two paths in your symbol and want them to
>    have different fill colors, this won't work, but if you want all
>    your paths to be the same, this should work
>
> That is the problem, I cannot independently stylize different paths in the
> SVG file.
>
>> Chris Williams [EMAIL-REMOVED]>
>> Tuesday, July 12, 2016 2:49 PM
>> 1) That's not "post 16" that's a reply with 16 (now 17) likes.
>> 2) Is explicitly says in the example: <svg class="fill-red">
>>
>>
>>
>> ______________________________________________________________________
>> 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/
>> Crest Christopher [EMAIL-REMOVED]>
>> Tuesday, July 12, 2016 10:30 AM
>> Look at, post 16 on stack overflow ?
>>
>> The example SVG file doesn't have a class called fill-red or fill-blue,
>> how is it being stylized ?
>>
>>
>> Rick Gordon [EMAIL-REMOVED]>
>> Monday, July 11, 2016 8:32 PM
>> Is this any help?
>>
>>
>> http://stackoverflow.com/questions/18434094/how-to-style-svg-with-external-css
>>
>> ---------------------
>>
>>
>> ___________________________________________
>> RICK GORDON
>> EMERALD VALLEY GRAPHICS AND CONSULTING
>> ___________________________________________
>> WWW: http://www.shelterpub.co
>> ______________________________________________________________________
>> 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/
>> Crest Christopher [EMAIL-REMOVED]>
>> Saturday, July 09, 2016 11:24 PM
>> I've been searching on how I can style SVG files embedded in a <object>
>> tag, including CSS animation.
>>
>> Can someone point me in the direction, how I can stylize a SVG object
>> contained in a <object> tag though CSS; otherwise it appears jQuery is the
>> only direction.
>>
>
> ______________________________________________________________________
> 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/
>


-- 

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: