Home/Saleh Mubashar
Author
SMSaleh Mubashar

Saleh Mubashar

7 articles by Saleh Mubashar.

Frontend — animation-trigger

animation-trigger

The CSS animation-trigger property allows you to delay the start of a CSS animation until a specific trigger occurs. animation-trigger originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

SMSaleh MubasharSaleh Mubashar·August 26, 2026Frontend
Engineering — Alternatives to the !important Keyword

Alternatives to the !important Keyword

Cascade layers, specificity tricks, smarter ordering, and even some clever selector hacks can often replace !important with something cleaner, more predictable, and far less embarrassing to explain to your future self.

SMSaleh MubasharSaleh Mubashar·April 7, 2026Engineering
Frontend — Masonry: Watching a CSS Feature Evolve

Masonry: Watching a CSS Feature Evolve

What can CSS Masonry discussions teach us about the development of new CSS features? What is the CSSWG’s role? What influence do browsers have? What can learn from the way past features evolved?

SMSaleh MubasharSaleh Mubashar·October 13, 2025Frontend
Engineering — Moving Backgrounds

Moving Backgrounds

We often think of background images as texture or something that provides contrast for legible content — in other words, not really content. If it was

SMSaleh MubasharSaleh Mubashar·February 9, 2023Engineering
Engineering — Overlapping Bar Charts

Overlapping Bar Charts

As the name suggests, overlapping charts visualize two different sets of data in a single diagram. The idea is that the overlapping bars allow us to compare

SMSaleh MubasharSaleh Mubashar·September 7, 2022Engineering
Frontend — Different Ways to Write CSS in React

Different Ways to Write CSS in React

We’re all familiar with the standard way of linking up a stylesheet to the <head> of an HTML doc, right? That’s just one of several ways we’re able to

SMSaleh MubasharSaleh Mubashar·June 22, 2022Frontend