Forums

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

Home Forums CSS Proof of Concept CSS Trick – please help!

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #42359
    kyvaith
    Participant

    Hi!

    I’m trying to make a pure CSS website with some animations. The main goal is to have something as similar as possible to this, but without JS: http://lab.hakim.se/meny/ .

    Right now I have code that works ONLY IN GOOGLE CHROME, and with problems: http://codepen.io/kyvaith/pen/xsrav
    The site flicker on mouseover, because hover effect is applied to div with contains both menu and main container. Main container is just moved to right with margin-left, outside the base div.

    The code is complete invalid. Is there any way to do it right?

    #122861
    chrisburton
    Participant

    I’m not seeing a flicker in Chrome.

    #122899
    Kitty Giraudel
    Participant

    It looks great on my Chrome Canary 26 too.

    Edit: pretty nice work by the way.

    #122900
    kyvaith
    Participant

    Well… For me, the above code causes the main container jumps when you move the mouse over it. Try to move the mouse slowly over it. It looks like he could not decide whether to be in the container from which it was ejected by transform: translateX or not. Anyway, the problem was solved. Here is the working code (uses: target but for me it does not matter): http://codepen.io/kyvaith/pen/Djrew
    I did everything again from the beginning. The last thing is to achieve compatibility with non-WebKit browsers :)

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