Mangling CSS Variables With JS

DAY 25 👾

I’m back 💙

Today I created a simple App which uses CSS variables & if they are updated with JS, then it will reflect in the DOM where the CSS variables were used.

It uses pure Javascript.

No jQuery involved. No JS frameworks. No CSS frameworks.

Demo

Screenshot

1. Blured without Spacing

Mangling CSS variables with JS

2. Spaced without Bluring

Mangling CSS variables with JS

Code

Till the next time 👻