Changing CSS variables with JavaScript (CSS custom properties)

Publicado el: 16 junio 2022
en el canal de: 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


En esta página del sitio puede ver el video en línea Changing CSS variables with JavaScript (CSS custom properties) de Duración hora minuto segunda en buena calidad , que subió el usuario Scrimba 16 junio 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 7,957 veces y le gustó 164 a los espectadores. Disfruta viendo!