The Times You Need A Custom @property Instead Of A CSS Variable

Preethi Sam walks through an example that demonstrates where custom properties are more suitable than variables while showcasing the greater freedom and flexibility that custom properties provide for designing complex, refined animations. https://smashingmagazine.com/2024/05/times-need-custom-property-instead-css-variable/

Utworzony 24d | 13 maj 2024, 14:40:18


Zaloguj się, aby dodać komentarz

Inne posty w tej grupie

Presenting UX Research And Design To Stakeholders: The Power Of Persuasion

There’s more to achieving good UX than research and design. We need to effectively communicate our ideas to gain buy-in from key stakeholders. Victor covers how UX practitioners can harness the power

5 cze 2024, 17:40:14 | Smashing magazine
Scaling Success: Key Insights And Practical Takeaways

The web is still a young platform, and we’re only now beginning to recognize what “success” looks like for large projects. In his recent Smashing book, [Success at Scale](https://www.smashingmagazine.

4 cze 2024, 14:10:09 | Smashing magazine
Ice Cream Ahead (June 2024 Wallpapers Edition)

Let’s kick off June with some fresh inspiration! Artists and designers from across the globe once again tickled their creativity to celebrate the beginning of the new month with a collection of beauti

31 maj 2024, 16:40:16 | Smashing magazine
In Praise Of The Basics

What does it mean to learn the “basics”, or fundamentals, of front-end web development? Is starting with HTML and CSS still the best entry point to learn how to make websites and apps when we have a s

30 maj 2024, 20:10:14 | Smashing magazine
Decision Trees For UI Components

Imagine finally resolving never-ending discussions about UI decisions for good. Here are some practical examples of decision trees for UI components and how to use them effectively. An upcoming part o

29 maj 2024, 23:40:04 | Smashing magazine
The Era Of Platform Primitives Is Finally Here

Application frameworks have built whole ecosystems on top of them. Let’s take a closer look at serverless platforms such as Netlify’s Platform Primitives

28 maj 2024, 13:30:05 | Smashing magazine
Switching It Up With HTML’s Latest Control

After years of relying on checkbox hacks to create a “switch” control for forms that toggle between two states, HTML may be gaining a native way to go about it by adding a switch attribute to checkb

24 maj 2024, 13:50:01 | Smashing magazine