What pseudo-class need?

I kind of know what that is) but I don't know exactly how to do it.
How to remove the border-top for the subsequent block?
Of course you can write something like :nth-child(1){ border-top: 1px solid #e5e5e5 }
And for the trail. to register border-top: none;
BUT! this option will not work. Because the unit may be 1 and may be three of them under each other.

Here is an example on jsfiddle
July 12th 19 at 16:45
1 answer
July 12th 19 at 16:47
There is not need pseudo-class and selector next-sibling.
 border: 1px solid #e5e5e5;
 min-height: 100px

.calendar-table + .calendar-table {
 border-top: none;

Find more questions by tags CSS