fixed a typo (#34170)
This commit is contained in:
parent
50ecd8ad40
commit
6ce41d6203
@ -8,7 +8,7 @@ videoUrl: 'https://scrimba.com/c/c6bDNfp'
|
||||
## Description
|
||||
<section id='description'>
|
||||
When using your variable as a CSS property value, you can attach a fallback value that your browser will revert to if the given variable is invalid.
|
||||
<strong>Note:</strong> This fallback is not used to increase browser compatibilty, and it will not work on IE browsers. Rather, it is used so that the browser has a color to display if it cannot find your variable.
|
||||
<strong>Note:</strong> This fallback is not used to increase browser compatibility, and it will not work on IE browsers. Rather, it is used so that the browser has a color to display if it cannot find your variable.
|
||||
Here's how you do it:
|
||||
<blockquote>background: var(--penguin-skin, black);</blockquote>
|
||||
This will set background to black if your variable wasn't set.
|
||||
|
Loading…
x
Reference in New Issue
Block a user