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

Posted by:Saijo George

Digital Marketer with a strong focus on technical SEO and design. One of the top 100 makers on Producthunt, co-organizer of the SEO Meetup in Melbourne, an instructor at General Assembly. Worked with brands like Envato, AEON. Currently the SEO Strategy Director at Supple.