Hard to believe we once used tables to layout entire pages :)
Great example, was there any particular reason you used :nth-of-type instead of nth-child?
:nth-of-type
nth-child
I would be interested to know how you would make this responsive if you had a few more columns or where the data is a little longer.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hard to believe we once used tables to layout entire pages :)
Great example, was there any particular reason you used
:nth-of-type
instead ofnth-child
?I would be interested to know how you would make this responsive if you had a few more columns or where the data is a little longer.
Make readable table headers with CSS
Charanjit Chana ・ May 28 ・ 3 min read