We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fbb051 commit 69fb208Copy full SHA for 69fb208
03 - CSS Variables/index-START.html
@@ -69,7 +69,7 @@ <h2>Update CSS Variables with <span class='hl'>JS</span></h2>
69
// console.log(this.value);
70
console.log(this.dataset);
71
const suffix = this.dataset.sizing || '';
72
- /*so you can take the px to the end of the new value below*/
+ /*so you can take the px to the end of the new value below or else it won't read*/
73
document.documentElement.style.setProperty(`--${this.name}`, this.value + suffix)
74
}
75
0 commit comments