Jump to content
Search Community

Accordion with the first item expanded

Pixizz85 test
Moderator Tag

Go to solution Solved by PointC,

Recommended Posts

Hello everyone,

I'm having trouble finalizing my accordion component :( (based on this example codepen.io/GreenSock/pen/QWMRxGX) Works fine but I can't manage to finalize it. I want the first item to be expanded when we arrive on the page as on my first test version below (without GSAP, just CSS with some javascript):

See the Pen OJzaPPV by nero85 (@nero85) on CodePen

Many thanks in advance for your help

Jérôme

See the Pen QWaJwbG by nero85 (@nero85) on CodePen

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...