CSS only Mobile Friendly Table Layout

Image: CSS only Mobile Friendly Table Layout GIF

This responsive CSS only table design was designed by Flor Antara. We have a table with a header and on smaller devices like mobile phones the header is switched to a vertical layout and the content is scrollable horizontally.

If you are having trouble with the pen, try the archived copy on GitHub

Mobile Friendly Table Snippet

See the Pen Responsive Table HTML and CSS Only by Flor Antara (@florantara) on CodePen.0