The forums ran from 2008-2020 and are now closed and viewable here as an archive.
do you have any idea for alternating tables row background colors? In order to make the table rows more readable?
It would be great if it is possible not to modify the HTML, but only the CSS. Maybe with “:nth” property?
Thanks a lot!
Perhaps you could show us the HTML in Codepen.
The CSS is likely to depend on it.
Here’s my pen: http://cdpn.io/CpvEr
I would like to remove the class attributes from html, and accomplish that only by CSS (if possible). Of course I will use many more rows…
Oh thanks! I hadn’t seen you found a solution! ;)
It works like a charm: http://cdpn.io/CpvEr
Here you go: http://codepen.io/Paulie-D/pen/aqKbj
And this is new: https://css-tricks.com/complete-guide-table-element/