Menu icon Foundation
Default Tab Closed

How can i make the default state of the tabs closed?
Using Foundation 5.!

tab foundation tabs defaultclosed

How can i make the default state of the tabs closed?
Using Foundation 5.!

Wing-Hou Chan over 5 years ago

Hey Kunal!

When constructing your tabs you omit the active class.

Kunal Gupta over 5 years ago

Thanku so much.!!

Colin Howeth over 5 years ago

Be sure to remove the active class from the tab and your tab content if you don't want content to display initially

Kunal Gupta over 5 years ago

Can you help me to scroll down to content when clicking on tabs please?