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 1y | 13 maj 2024, 14:40:18


Zaloguj się, aby dodać komentarz

Inne posty w tej grupie

Why Non-Native Content Designers Improve Global UX

Ensuring your product communicates clearly to a global audience is not just about localisation. Even for products that have a proper localisation process, English often remains the default language fo

18 lip 2025, 19:20:07 | Smashing magazine
Tiny Screens, Big Impact: The Forgotten Art Of Developing Web Apps For Feature Phones

Learn why flip phones still matter in 2025, and how you can build and launch web apps for these tiny devices. https://smashingmagazine.com/2025/07/tiny-screens-big-impact-developing-web-apps-feature-p

16 lip 2025, 16:20:06 | Smashing magazine
Design Patterns For AI Interfaces

Designing a new AI feature? Where do you even begin? From first steps to design flows and interactions, here’s a simple, systematic approach to building AI experiences that stick. https://smashingmaga

14 lip 2025, 20:20:05 | Smashing magazine
Unmasking The Magic: The Wizard Of Oz Method For UX Research

The Wizard of Oz method is a proven UX research tool that simulates real interactions to uncover authentic user behavior. Victor Yocco unpacks the core principles of the WOZ method, explores advanced

10 lip 2025, 11:50:15 | Smashing magazine
Droip: The Modern Website Builder WordPress Needed

Traditional page builders have shaped how we build WordPress sites for years. Let’s take a closer look at Droip, a modern, no-code visual builder, and explore how it redefines th

8 lip 2025, 13:40:02 | Smashing magazine
Design Guidelines For Better Notifications UX

As always in design, timing matters, and so do timely notifications. Let’s explore how we might improve the notifications UX. More design patterns in our <a href="https://smart-interface-design-patter

7 lip 2025, 14:30:03 | Smashing magazine
CSS Intelligence: Speculating On The Future Of A Smarter Language

CSS has evolved from a purely presentational language into one with growing logical powers — thanks to features like container queries, relational pseudo-classes, and the if() function. Is it still

2 lip 2025, 13:50:02 | Smashing magazine