この解答例はChatGPTによって生成されています,正しいかは自己判断で。

BFE.devでのAI解答例 - CSS 質問
7. 1行

.row { height: 50px; background: #eee; } .row:nth-child(even) { background: #ddd; } .row:first-child { border-top: 1px solid #ccc; } .row:last-child { border-bottom: 1px solid #ccc; } .row:not(:first-child):not(:last-child) { border-top: 0; border-bottom: 0; border-collapse: collapse; }