There is a css code for certain lists:
section #contacts #contacts-list ul { width: 100%; padding-left: 1%; border-left: 2px dotted #1C1C1C; } section #contacts #contacts-list ul li { float: none; margin-bottom: 5%; } section #contacts #contacts-list ul li:first-child { font-size: 20px; font-weight: 500; } And there are several such lists on the site. The problem is that due to the margin-bottom property of the list item, at the end the border sticks out a bit. Is it possible to somehow select the last element of the last list? I tried this code:
section #contacts #contacts-list ul:last-child li:last-child { margin-bottom: 0; } But naturally this does not work. And I need specifically on css, without using js.