Changing CSS variables with JavaScript (CSS custom properties)

Veröffentlicht am: 16 Juni 2022
auf dem Kanal: Scrimba
7,957
164

🎓 View our courses: https://scrimba.com/links/all-courses

In this video, we learn how to change a CSS variable using JavaScript.

CSS variables (aka custom properties) are a big win for front-end developers. They provide the power of variables to CSS, which results in less repetition, better readability and more flexibility.

Unlike variables from CSS preprocessors, CSS variables are a part of the DOM, which has many benefits.

💻 Check out the CSS variables course on Scrimba’s interactive learning platform: https://scrimba.com/learn/cssvariables

🌲 Linktree:
https://scrimba.com/links/linktree


Auf dieser Seite können Sie das Online-Video Changing CSS variables with JavaScript (CSS custom properties) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Scrimba 16 Juni 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 7,957 Mal angesehen und es wurde von 164 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!