I'm developing a Web Application in Ionic3 framework. In my table Each item is available in different sizes. On mobile devices, the screen is too narrow to properly display up to 4 different sizes item.
So I would like to convert rows into columns in Mobile view only.
Let's take this Example
Input-
x1 | x2 | x3 | x4 | x5
y1 | y2 | y3 | y4 | y5
z1 | z2 | z3 | z4 | z5
Output-
x1 | y1 | z1
x2 | y2 | z2
x3 | y3 | z3
x4 | y4 | z4
x5 | y5 | z5
Is there a way of doing this in CSS?