Skip to content

Instantly share code, notes, and snippets.

@MoOx
Created July 16, 2015 09:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MoOx/a34068e2687d43a5c3e9 to your computer and use it in GitHub Desktop.
Save MoOx/a34068e2687d43a5c3e9 to your computer and use it in GitHub Desktop.
custom properties allow more than variables, it's true, but this can provide a similar usage
selector {
prop: value;
}
:root { --registry: value; }
selector {
prop: var(--registry);
}
$registry: value;
selector {
prop: $registry;
}
@MoOx
Copy link
Author

MoOx commented Jul 16, 2015

At the end, as it is, how is this different?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment