Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Diagonal reveal with css or JS or both!?

  • 18-09-2015 12:13am
    #1
    Registered Users, Registered Users 2 Posts: 4,946 ✭✭✭


    Just wondering if anyone has come across a way to do a reveal diagonally?

    2 images fixed, full screen on a different z-index.

    If they were relative, when you scroll the top image would reveal the bottom one, with no parallax effect - simples.

    This is the desired animation... However, is it possible to do this diagonally, not vertically? I can do it horizontally if i want, just animate width to 0%. But animating diagonally is a different ballgame altogether.

    I've tried a div, with an inner div skewed / rotated and positioned absolute, and a BG image on a div inside the inner div that is fixed and skewed the other way etc... no joy.

    Any ideas welcome. First time in years I've been stumped on something like this as it needs to be compatible with ie9.

    Am I missing something really obvious here?


Comments

Advertisement