Forums

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

Home Forums Design Hovering problem.

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

    Hello guys,

    Can anyone help me with my code?
    I want to my code to be transition when it is hovered out, but the border right fades fast.
    Is it possible to transition z index?

    https://codepen.io/WAWI/pen/mGpYME

    #276466
    Paulie_D
    Member

    The right border isn’t transitioning any different from the others it’s just that the left border from the next item is sitting on top because of the margin-left: -2px; you have in place.

    z-index can be transitioned but not in the way you think. It will still snap to above/below because it is based on whole numbers…there’s no z-index:1.5 for instance.

    #276506
    manufufu
    Participant

    Thanks a lot Paulie.

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