16 lines
291 B
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);
|
||
|
}
|
||
|
}
|