Using CSS to make table’s outer border color different from cells’ border color
I would acheive this by using adjacent selectors, like so: table { border: 1px solid #000; } tr { border-top: 1px solid #000; } tr + tr { border-top: 1px solid red; } td { border-left: 1px solid #000; } td + td { border-left: 1px solid red; } It’s a little bit repetitive, but … Read more