Orionsbelter Posted July 21, 2016 Share Posted July 21, 2016 Hi, I'm currently stuck as two how I can do this, I have a desktop and mobile design where on Desktop the design acts like tabs but on mobile it acts as an Accordion. But i'm not too sure how the best way to go about this is. Please see attached the designs. Any examples or advice on how to do this would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
benanamen Posted July 21, 2016 Share Posted July 21, 2016 (edited) That is bootstraps default behavior. You don't need two different designs. Bootstrap is mobile-friendly,actually mobile first is the term and will scale automatically. Edited July 21, 2016 by benanamen Quote Link to comment Share on other sites More sharing options...
Orionsbelter Posted July 21, 2016 Author Share Posted July 21, 2016 That is bootstraps default behavior. You don't need two different designs. Bootstrap is mobile-friendly,actually mobile first is the term and will scale automatically. If you were to use tabs, they wouldn't stack on mobile nor would they act like an accordion. Quote Link to comment Share on other sites More sharing options...
benanamen Posted July 21, 2016 Share Posted July 21, 2016 (edited) Tabs are tabs. From Mobile on up tabs will still act like tabs. If you want an accordion use the accordion. If you want the tabs to magically become an accordion, bootstrap doesn't do that. You would probably have to use some JavaScript to hide the tabs and replace it with an accordion. If you know of a site that behaves the way you want post it here and I may be able to help you figure out how it's done. Edited July 21, 2016 by benanamen Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.