Remove mixins for clarfix and overlay, make them only components. Add a new wrap component.
This commit is contained in:
parent
c939c7f95a
commit
50928f1056
2 changed files with 21 additions and 25 deletions
|
|
@ -1,19 +0,0 @@
|
|||
// clearfix()
|
||||
//
|
||||
// Allows the bottom of an element to extend to the bottom of all floated
|
||||
// children elements. @see http://nicolasgallagher.com/micro-clearfix-hack/
|
||||
//
|
||||
// We use the micro-clearfix, optimized for use in `@extend` where fewer `&` is
|
||||
// better.
|
||||
@mixin clearfix() {
|
||||
&::before {
|
||||
content: '';
|
||||
display: table;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
@mixin overlay() {
|
||||
--color-overlay: var(--color-black-20);
|
||||
--color-overlay2: var(--color-black-10);
|
||||
border-image: linear-gradient(var(--color-overlay), var(--color-overlay2)) fill 1;
|
||||
}
|
||||
Loading…
Reference in a new issue