Skip to content

Instantly share code, notes, and snippets.

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 danieldiekmeier/3c1fc91fc7327b85f278aaa1d435036c to your computer and use it in GitHub Desktop.
Save danieldiekmeier/3c1fc91fc7327b85f278aaa1d435036c to your computer and use it in GitHub Desktop.
Preprocessor Example
.Element {
display none @ <320px; block @ >=320px
font-size 12px @ 320px; 20px @ 1280px
}
.Element {
display (
<320px: none
block
)
:hovering(.Parent) {
background-color red
}
:before {
content ""
}
// Compile time error
.Sub {
possible notpossible
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment