adding positional arguement to mixin with default setting or relative
This commit is contained in:
parent
c6b6e362ab
commit
4c03f55498
@ -20,9 +20,8 @@
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
opacity: 0;
|
||||
position: fixed;
|
||||
width: 1px;
|
||||
@add-mixin move-z -1;
|
||||
@add-mixin move-z -1, fixed;
|
||||
}
|
||||
|
||||
& .panel {
|
||||
|
@ -17,7 +17,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@define-mixin move-z $amount:0 {
|
||||
position: relative;
|
||||
@define-mixin move-z $amount:0, $position:relative {
|
||||
position: $position;
|
||||
z-index: $amount;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user