Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Alternating Table Color Rows in CSS

DZone's Guide to

Alternating Table Color Rows in CSS

·
Free Resource

These 2 techniques can be used for alternating row-colors in a table.

 

 

 
Row1 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Row2 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Row3 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Row4 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Row5 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Row1 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Row2 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Row3 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Row4 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Row5 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}