-
Notifications
You must be signed in to change notification settings - Fork 28
Css Variables
David Rettenbacher edited this page May 21, 2017
·
2 revisions
You can define custom variables in css.
Use the $<variable-name>
statement to declare values.
Use the $<variable-name>
statement to refer to it.
$backgroundColor: Red;
Grid {
BackgroundColor: $backgroundColor;
}
Tip: These variables can be shared by importing them with @import in another css-file.