Home/Zell Liew
Author
ZLZell Liew

Zell Liew

9 articles by Zell Liew.

Frontend — Composition in CSS

Composition in CSS

CSS is a composable language by nature. This composition nature is already built into the cascade. We simply don't talk about composition as a Big Thing because it's the nature of the language.

ZLZell LiewZell Liew·September 8, 2025Frontend
Performance — A Better API for the Resize Observer

A Better API for the Resize Observer

ResizeObserver, MutationObserver, and IntersectionObserver enhance performance over their predecessors. Zell discusses their API similarities, usage steps, refactoring strategies, and advantages with practical examples.

ZLZell LiewZell Liew·June 16, 2025Performance
Frontend — Tailwind's @apply Feature is Better Than it Sounds

Tailwind's @apply Feature is Better Than it Sounds

Most of the time, people showcase Tailwind's @apply feature with one of Tailwind's single-property utilities (which changes a single CSS declaration). When showcased this way, @apply doesn't sound promising at all. So obviously, nobody wants to use it. Personally, I think Tailwind's @apply feature is better than described.

ZLZell LiewZell Liew·April 10, 2025Frontend
Design & UX — Tooltip Best Practices

Tooltip Best Practices

What are tooltips, exactly? There's two kinds and the one you use has implications on the user experience, as Zell illustrates in this explainer on best practices.

ZLZell LiewZell Liew·October 29, 2024Design & UX
Frontend — The Flavors of Object-Oriented Programming (in JavaScript)

The Flavors of Object-Oriented Programming (in JavaScript)

In my research, I've found there are four approaches to Object-Oriented Programming in JavaScript. Which methods should I use? Which one is "the best" way? Here I'll present my findings along with information that may help you decide which is right for you.

ZLZell LiewZell Liew·September 28, 2020Frontend