- This topic is empty.
September 20, 2013 at 12:55 am #150670
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!September 20, 2013 at 2:05 am #150682Paulie_DModerator
Perhaps you could show us the HTML in Codepen.
The CSS is likely to depend on it.September 20, 2013 at 2:27 am #150686
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…
ThanksSeptember 20, 2013 at 2:32 am #150687
Oh thanks! I hadn’t seen you found a solution! ;)
It works like a charm: http://cdpn.io/CpvErSeptember 20, 2013 at 2:36 am #150688Paulie_DModerator
Here you go: http://codepen.io/Paulie-D/pen/aqKbj
And this is new: https://css-tricks.com/complete-guide-table-element/September 20, 2013 at 2:49 am #150689
Thanks!!!!!September 20, 2013 at 2:53 am #150690
- You must be logged in to reply to this topic.