These tabs use flexbox for nice even content, and they rotate on smaller screens rather than stack. I have set this up using CSS Variables so it’s super easy to edit. Just change the variable values at the top of the CSS to match your content.