Currently, I have set up two columns displaying posts and data, with them floating left and right on desktop. My goal is to convert these columns into tabs when viewed on mobile devices. For example, on desktop it looks like this:
column1 column2
11111 22222
11111 22222
11111 22222
On mobile, it would be displayed as:
column1|colum2
1111
1111
1111
Users can click on the column2 tab to view the posts for that column.
My page setup structure is as follows:
<section className-"dash">
<section className="dashboard-container-left">
<section className="myRecommended">
.........
.........
</section>
</section>
<section className="dashboard-container-right">
<section className="usersRecommended">
.........
.........
</section>
</section>
</section>
At the moment, both sections are styled to float left and right, respectively.