- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi,
I’m trying to set up a transition for SVG fill
s, but it doesn’t seem to be working. I can get the svg working and performing the transition properly on CodePen, but not on my localhost.
EDIT: I’ve tested a reduced test case on a live and local server running in just a single HTML file. Yet when I integrate the rules into my WordPress install it stops working. I’m going to play with it a bit more.
http://codepen.io/thenoelforte/pen/ryljg
Is there something I’m missing?
Nothing wrong with the HTML/CSS as far as I can see.
As you say it’s not working in WP, I’m inclined to think it’s more related to that environment so I’ll push this over to the relevant section.
I’m having the same issue, but with jQuery not controlling the SVG anymore once integrated into WP. If you find a solution, fire a message off to me.
Right. I’ve done some poking around and discovered some weird behavior when it comes to <a>
tags and SVG’s. It seems that there’s an issue with the SVG’s transitions on fills depending on the type of URL being used. Sometimes the transition only fires on https URL’s sometimes non-https URL’s and sometimes on neither and sometimes on both.
Here’s a link to what I’m seeing on my end: http://imgur.com/jkB6EYP
Well this is very interesting. Same behavior as this. What happens when you use just /
?
I’ve also found out that this odd behavior is only happening in Chrome and Safari. Everything else renders it fine (haven’t tried IE).
If you mean <a href="/">...</a>
, then you get the same behavior that you get when using #
. For some reason this bug has something to do with SVG’s and http links.
Chris Hass over on STack Overflow linked me to this post:
Interesting read for sure.