Responsive tab width?
-
I’ve made a slider using the tabs as actual tabs, not thumbnails. When the screen size shrinks below the (boxed) size of the slider, the tabs stay full sized, and scroll (as you would expect with thumbnails), rather than adapting in width, as you might prefer with tabs. I’d like each tab to shrink in width proportionally to the entire slider instead.
There are three tabs. I’ve tried to set a max. width on the row of tabs, and a max width of 33.3% for each tab, but I can’t make the tab width responsive. Is this possible? Can you suggest anything I could add to my stylesheet that would make this happen?
The site is under development, but you can see the slider here:
http://astorservices[dot]dreamhosters[dot]com
The topic ‘Responsive tab width?’ is closed to new replies.