Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS problem with css3 transform

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #46424
    sadunaresh
    Participant

    Hi,

    I have problem with transform as it works fine sometime and sometimes it blinks..

    here on codepen

    Please help…

    #142944
    sadunaresh
    Participant

    updated:updated

    changed background color of div……

    #142945
    Sarfaraj
    Participant

    @sadunaresh You right :)

    #142951
    Paulie_D
    Member

    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.

    #142952
    pixelgrid
    Participant

    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

    #142953
    Paulie_D
    Member

    Or just do it a different way : http://codepen.io/Paulie-D/pen/CbwHq

    #143046
    sadunaresh
    Participant

    @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…

    #143049
    sadunaresh
    Participant

    @Paulie_D I have just sorted it out by wrapping it with another div…

    please find the code on codepen

    Thank you … :)

    #143050
    sadunaresh
    Participant

    @pixelgrid yes this can be done with js too.. just wanted to achieve this with css..

    thank you :)

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘CSS’ is closed to new topics and replies.