Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Victor Work

Element go to middle screen and Scale to 100(vw/vh)

Recommended Posts

Hello Gsaper's, I'm trying to make a menu with images, which to the click directs to the center of the screen, and fills the screen completely, when it is clicked again the element returns to its initial state, but I need to do this using css flexbox.
After many attempts I got to this stage.

See the Pen OzyaNd by Noturnoo (@Noturnoo) on CodePen

Link to comment
Share on other sites

Hi Noturnoo,

 

What about moving the picture to a fixed layer, and then scaling it?

 

See the Pen JMGVxz by lennco (@lennco) on CodePen

 

  • Like 1
Link to comment
Share on other sites

  • 8 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×