Day 96: the margin-trim property

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
The margin-trim property allows a container element to trim the margins of its children where they adjoin the container’s edges.Let’s say we have a parent element and 4 children, and we use margin-block-end to add some spacing between these elements. A B C D li { margin-block-end: 1rem; } [data-sample] ul { list-style: none; ...