- This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- The forum ‘CSS’ 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 have problem with transform as it works fine sometime and sometimes it blinks..
Please help…
updated:updated
changed background color of div……
@sadunaresh You right :)
What do you mean by blink?
Part of the problem is that, depending on where your mouse is, the element can slip out from under the pointer and the hover comes off and you have to start all over again.
you could avoid such problems with javascript.
on hover add a class that makes the element turn and then listen for the transitionend event to fire so you can remove the class
Or just do it a different way : http://codepen.io/Paulie-D/pen/CbwHq
@Paulie_d Thank you, now I understood what is happening… and the alternative you suggested will not substitute the effect I am looking for… please let me know if there is any other work around…
@Paulie_D I have just sorted it out by wrapping it with another div…
please find the code on codepen
Thank you … :)
@pixelgrid yes this can be done with js too.. just wanted to achieve this with css..
thank you :)