Skip to content

Instantly share code, notes, and snippets.

@janrenn
Created October 8, 2020 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janrenn/4c6a82d96dd8a909c2c9c96e4e0496c3 to your computer and use it in GitHub Desktop.
Save janrenn/4c6a82d96dd8a909c2c9c96e4e0496c3 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
.foo {
width: max(10px, env(safe-area-inset-left));
background-clip: border-box;
-webkit-box-reflect: below 5px url(mask.png);
filter: grayscale(50%);
word-break: break-word;
-webkit-hyphens: auto;
}
@mixin foobar {
display: flex;
transition: all;
}
@mixin baz {
@include foobar;
font-weight: 400;
}
.foo {
color: red;
.bar {
color: green;
background: red;
}
& .baz {
color: gold;
}
.baz & {
color: crimson;
@include baz;
}
}
$foo: foobar;
a {
color: $foo;
}
@supports ( display: flexbox ) {
body { display: flexbox; }
.foo { @include foobar; }
}
.foo {
width: max(10px, env(safe-area-inset-left));
background-clip: border-box;
-webkit-box-reflect: below 5px url(mask.png);
filter: grayscale(50%);
word-break: break-word;
-webkit-hyphens: auto;
}
.foo {
color: red;
}
.foo .bar {
color: green;
background: red;
}
.foo .baz {
color: gold;
}
.baz .foo {
color: crimson;
display: flex;
transition: all;
font-weight: 400;
}
a {
color: foobar;
}
@supports (display: flexbox) {
body {
display: flexbox;
}
.foo {
display: flex;
transition: all;
}
}
{
"sass": {
"compiler": "dart-sass/1.26.11",
"extensions": {},
"syntax": "SCSS",
"outputStyle": "expanded"
},
"autoprefixer": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment