zelda-planted/themes/zen/assets/sass/components/divider/_divider.scss

16 lines
291 B
SCSS

// Divider
//
// Can be used as an `<hr>`, an empty `<div>` or as a container.
.divider,
%divider {
@include margin(1 0);
border: 0;
border-top: 1px solid $border;
// If used as a container, add a top margin to the first child.
> :first-child {
@include margin-top(1);
}
}