diff --git a/03 - CSS Variables/index-START.html b/03 - CSS Variables/index-START.html index 3851fff718..7214b735f3 100644 --- a/03 - CSS Variables/index-START.html +++ b/03 - CSS Variables/index-START.html @@ -26,8 +26,10 @@

Update CSS Variables with JS

misc styles, nothing to do with CSS variables */ - body { - text-align: center; + :root { + --img-spacing: 10px; + --img-blur: 10px; + --img-base: #ffc600; } body { @@ -36,6 +38,7 @@

Update CSS Variables with JS

font-family: 'helvetica neue', sans-serif; font-weight: 100; font-size: 50px; + text-align: center; } .controls { @@ -46,9 +49,23 @@

Update CSS Variables with JS

width:100px; } + img { + border: var(--img-spacing) solid var(--img-base); + filter: blur(var(--img-blur)); + } + - +