Add extractor and builder

Tested and working
This commit is contained in:
Angelos Chalaris
2019-08-22 14:04:18 +03:00
parent 343f8fd4c7
commit a8818b1998
101 changed files with 18465 additions and 9908 deletions

View File

@ -5,14 +5,10 @@ tags: other,intermediate
CSS variables that contain specific values to be reused throughout a document.
#### HTML
```html
<p class="custom-variables">CSS is awesome!</p>
```
#### CSS
```css
:root {
/* Place variables within here to use the variables globally. */
@ -30,8 +26,6 @@ CSS variables that contain specific values to be reused throughout a document.
}
```
#### Demo
#### Explanation
The variables are defined globally within the `:root` CSS pseudo-class which matches the root element of a tree representing the document. Variables can also be scoped to a selector if defined within the block.