mirror of
https://github.com/kidoman/embd
synced 2025-02-10 20:53:20 +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;
|
|
}
|
|
}
|