fe9d0b8704
By default, blocks have a margin of 1.5em to create a consistent vertical rhythm. However, sometimes elements need to be associated with the element above them. In this cases, the gap between elements needs to be tighter. There are many ways to do this, but this approach asks the latter content to be marked as associative. The implication is that the association is with the previous block.
4 lines
43 B
SCSS
4 lines
43 B
SCSS
.is-associative {
|
|
margin-top: -0.75em;
|
|
}
|