mirror of
https://github.com/kidoman/embd
synced 2025-02-11 05:03:18 +01:00
22 lines
426 B
SCSS
22 lines
426 B
SCSS
![]() |
@mixin fixed($removal-breakpoint) {
|
||
|
.fixed {
|
||
|
position: fixed;
|
||
|
&.pinned {
|
||
|
position: absolute;
|
||
|
}
|
||
|
@if $removal-breakpoint != false {
|
||
|
@include respond($removal-breakpoint) {
|
||
|
position: relative !important;
|
||
|
top: auto !important;
|
||
|
left: auto !important;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.unfixed {
|
||
|
position: relative !important;
|
||
|
top: auto !important;
|
||
|
left: auto !important;
|
||
|
}
|
||
|
}
|