- This topic is empty.
December 19, 2012 at 12:12 pm #41457
I am currently have a problem with and ease down code. currently it is set as:
The code works fine in Firefox and Chrome, but the text flashes in Safari and does not even work in IE. Here is a link to the problem page: [Photography](http://www.scotthudsonphotography.com/SHP/about.html “Photography”)
The code is used for the links at the top and bottom and the text flash is in the body. If you want to whole css I can post that as well.
Thanks for the help!December 19, 2012 at 1:57 pm #118130
For IE9 you need the `-ms` prefix and for IE10 (and newer Firefox and Opera) you don’t need any prefix, which you seem to be missing.December 19, 2012 at 2:13 pm #118134Chris CoyierKeymaster
This is essentially this huge bug in WebKit. I’d call it a bug anyway. You can apply the “thinned out” text look by applying a benign 3D transform to the area with text. That way it won’t jump to that thinned out look on hover. But that’s kind of a crappy fix. Usually you just have to decide what is worse, the thinned out look all the time, or the jump.December 19, 2012 at 2:14 pm #118135
Yep. totally forgot about that prefix. But idea why the body text flickers in Safari?December 19, 2012 at 2:36 pm #118143
Thanks Chris, I just had the code in the wrong spot and it seemed to fix the flickr!
Back to the ease problem in IE, I am unable to get the transition to go slow. Any ideas for that?
Thanks!December 19, 2012 at 3:04 pm #118153December 19, 2012 at 4:59 pm #118166QoopidoMember
Cannot reproduce the problem but what you describe sounds familiar. What andy_unleash wrote should fix the problem, but from what I learnt “backface-visibility: hidden” can have some nasty side effects – at least that is what I remember when I gave it a try.
What I ended up using to fix text-rendering glitches while css transforms/transitions are running is:
}December 19, 2012 at 5:23 pm #118168
I’d avoid the antialiasing fix at all cost. I have seen no side effects to using the backface hack.December 19, 2012 at 6:03 pm #118174QoopidoMember
@TheDoc I am sure I had an issue when I tested it, but seems to work fine now (for me)…
So agreed: When possible use the backface hack :)December 19, 2012 at 7:36 pm #118184
I was able to fix the text problem by putting this code into my container style: -webkit-transform:translate3d(0,0,0);
It seems to work great with Safari so I think I will just stick with that (I uploaded the new code, so that is probably why you were not seeing it, Sorry.)
But to set the transition speed for IE how does one do that? I currently have this:
-webkit-transition: all 1s ease-in-out;
-moz-transition: all 1s ease-in-out;
-o-transition: all 1s ease-in-out;
-ms-transition: all 1s ease-in-out;
But in every browser except IE the transition is slow, and for IE it just jumps.
Thanks again for all the help!December 19, 2012 at 7:59 pm #118185
As far as I’m aware (and I could be wrong) -ms prefixes aren’t required for transitions anymore.
Also don’t forget to include a non-prefixed version of your transitions.December 19, 2012 at 8:07 pm #118187
@andy_unleash IE9 still needs the prefix.
@hudsora – you still haven’t added the non-prefixed version for IE10.December 19, 2012 at 8:08 pm #118188December 19, 2012 at 8:10 pm #118189
This whole time I was confident we were talking about simple 2D transforms… /sighDecember 19, 2012 at 8:30 pm #118193
- The forum ‘CSS’ is closed to new topics and replies.