Nutrition Facts Table Using HTML & CSS

Image: Nutrition Facts Table Using HTML & CSS GIF

Here is a CSS snippet that you can use to display an HTML table to look like a Nutrition Facts Label that can be found on packaged foods and beverages. It was designed by Chris Coyier.

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

Nutrition Facts Table Using CSS Snippet

See the Pen Nutrition Facts Table in HTML & CSS by Chris Coyier (@chriscoyier) on CodePen.0

Posted by:Hima Vincent

Hima Vincent is the founder & editor in chief of CodeMyUI. She is a writer by day and a reader by night who helps web designers build awesome projects by sharing amazing code snippets for inspiration. Hobbies include designing, card games, photography and exploring the culinary arts.