Created
July 27, 2020 18:37
-
-
Save tomhodgins/da8689d632a1a7fc9b03a8530997ce21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
legal css custom property values { | |
--percentage: 25%; | |
--number: 37; | |
--length: 12em; | |
--time: 75ms; | |
--function: foo(); | |
--nested-function: foo(bar()); | |
--parentheses: ( ); | |
--braces: { }; | |
--brackets: [ ]; | |
--at-keyword-unknown: @foobar; | |
--at-keyword-known: @media; | |
--at-keyword-unknown-block: @foobar {}; | |
--at-keyword-known-block: @media {}; | |
--cdo-at-top-level: <!--; | |
--cdc-at-top-level: -->; | |
--semicolon-not-top-level: (;); | |
--cdo-not-top-level: (<!--); | |
--cdc-not-top-level: (-->); | |
} | |
/* https://wpt.fyi/results/css/css-variables/test_variable_legal_values.html?label=master&label=experimental&aligned&q=css%20variables */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment