Lab Dieciseis | CSS Variables | Jorge Carty
Lab 16 was fairly straight forward. The website is self-explanatory and as you can see, there is a bar after the properties Spacing, Blur, and Base Color. As someone can deduce, by changing the value of the bars, you can change the property of the mentioned property in CSS,
How was this made? This was made by labels and input tags for the user to change the properties in CSS. As for JavaScript, works as an updater and value changer so it makes visual changes to the image. A function and multiple const were made to change the value in the CSS properties.
This skill is important for a web designer because it gives you an options to use your creativity. In my case, the first thing that comes to my mind when I see this kind of concept is an image editor. I can now make an image editor so a user can upload a picture and by dragging the bars, they can modify different stuff, not only the properties shown in the lab but other important things like brightness, saturation, color correction, etc.
Comments
Post a Comment