Forums

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

Home Forums CSS Why does my element work on first click but not second click?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #253251
    satearn
    Participant

    I set up a CSS dynamic snippet on my site and it behaving strangely, when you click on the icons it works, but if you click twice it scrolls up a few pixels up, can someone have a look?

    http://www.xuzo.com/#workflow

    Click on the 5 icons repeatedly and you will see that they work on fist click but not on the second consecutive click, something wrong with the toggle?

    #253259
    Beverleyh
    Participant

    I’m not sure what you’re describing – there is so much other stuff going on in your page (markup, CSS, JavaScript) and I doubt that many folk will fancy poking about in your codebase for you in dev tools.

    Make it easier for us to help you by recreating the problem in a reduced CodePen demo.

    I set up a CSS dynamic snippet on my site

    This sounds promising. If this is the problem, this is the part we’d like to see in isolation in the aforementioned CodePen demo.

    #253271
    satearn
    Participant

    I pasted in Codepen but not working…

    http://codepen.io/Satearn/pen/JWepop

    I have no idea why it’s not working there,,,

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