I have a task of building a responsive website with custom theme and all that good stuff. One thing I stumbled across is using tabs to display data.
Tabs are a requirement in the site but they are not responsive. I have seen some wordpress sites that have this nice feature of turning tabs into accordion when the screen width is small.
Unfortunately I could not find a way to implement that in Drupal so far. The only way that I thought of is loading to view blocks (1 tabs and 1 accordion) and show/hide one of the two based on screen width using JS but this solution is not an efficient one.
Please let me know if there is a way in which I can accomplish this task.