Skip to content

Commit 7406070

Browse files
author
Greg Pfaff
committed
Updates CSS vars
1 parent d7d708f commit 7406070

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

03 - CSS Variables/index-START.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ <h2>Update CSS Variables with <span class='hl'>JS</span></h2>
1212
<input type="range" name="spacing" min="10" max="200" value="10" data-sizing="px">
1313

1414
<label for="blur">Blur:</label>
15-
<input type="range" name="blur" min="0" max="25" value="10" data-sizing="px">
15+
<input type="range" name="blur" min="0" max="25" value="0" data-sizing="px">
1616

1717
<label for="base">Base Color</label>
18-
<input type="color" name="base" value="#ffc600">
18+
<input type="color" name="base" value="#61f568">
1919
</div>
2020

2121
<img src="https://source.unsplash.com/7bwQXzbF6KE/800x500">
@@ -26,9 +26,9 @@ <h2>Update CSS Variables with <span class='hl'>JS</span></h2>
2626
misc styles, nothing to do with CSS variables
2727
*/
2828
:root {
29-
--base: #492928;
29+
--base: #61f568;
3030
--spacing: 10px;
31-
--blur: 10px;
31+
--blur: 0px;
3232
}
3333

3434
img {

0 commit comments

Comments
 (0)