adding margin to a list and removing the last child's margin

PHOTO EMBED

Tue Apr 06 2021 13:49:08 GMT+0000 (Coordinated Universal Time)

Saved by @Akhil #css

ul li:not(:last-of-type) {
margin-bottom: 20px;
}
content_copyCOPY

https://css-tricks.com/did-you-know-about-the-has-css-selector/