Jump to content
Search Community

bootstrap and GSAP

sunirmalya test
Moderator Tag

Recommended Posts

this is really just a question

I love how bootstrap rejigs everything when you reduce the window size. So for example, i have 3 pics in a row of 3 columns, when i reduce the window size it becomes 1 column and the pics follow one another.

i am guessing this cannot be done with GSAP and bootstrap together and we have to use that MediaMatch and forget bootstrap - is that right?

 

Link to comment
Share on other sites

Hi,

 

You can definitely use GSAP and Bootstrap without any issue. GSAP is 100% agnostic in order to maximize compatibility with your preferred tools.

 

For this you can set up your Bootstrap image grid using Flexbox and let the Flip plugin do the rest for you:

https://greensock.com/docs/v3/Plugins/Flip

 

This codepen example from the GreenSock collection shows how simple it is:

See the Pen zYqLjre by GreenSock (@GreenSock) on CodePen

 

Happy Tweening!!!

  • Like 3
Link to comment
Share on other sites

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.
×
×
  • Create New...