In Foundation 5 the tabs are displayed and the accordions are hidden when when @media only screen and (min-width: 40.063em)
is reached in the browser; the .hide-for-small
displays the tabs and the .show-for-small
rule hides the accordions.
/* Medium Displays: 641px and up */
@media only screen and (min-width: 40.063em) {
.hide-for-small,
... {
display: inherit !important;
}
.show-for-small,
... {
display: none !important;
}
}
Otherwise the .show-for-small
rule displays the accordion:
.show-for-small {
display: inherit !important;
}