8000 GitHub - nikkipurcell/js-update-css-variables: A JS app that has dynamic CSS variables.
[go: up one dir, main page]

Skip to content

nikkipurcell/js-update-css-variables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-update-css-variables

You can update a CSS variable on any element and any selectors that are inside of that element with JS.

How Its Done

First use labels and inputs. Use variables to declare your CSS. Add eventListeners and querySelector to handle the update changes from the inputs.

JS Update CSS Variables

About

A JS app that has dynamic CSS variables.

Topics

Resources

Stars

Watchers

Forks

0