Skip to content

Instantly share code, notes, and snippets.

@zahlenteufel
Created June 17, 2022 16:00
Show Gist options
  • Save zahlenteufel/4fb116f765c851a8097720542571f3fe to your computer and use it in GitHub Desktop.
Save zahlenteufel/4fb116f765c851a8097720542571f3fe to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
@mixin use-mobile-bottom-bar($value) {
.bottom-navigation-buttons-container {
display: if($value, block, none);
}
.navigation-buttons-container {
display: if($value, none, block);
}
}
@include use-mobile-bottom-bar(false);
.bottom-navigation-buttons-container {
display: none;
}
.navigation-buttons-container {
display: block;
}
{
"sass": {
"compiler": "dart-sass/1.32.12",
"extensions": {},
"syntax": "SCSS",
"outputStyle": "expanded"
},
"autoprefixer": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment