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.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}