Revealing Images With CSS Mask Animations

Let’s play with images and experiment with CSS masks. The idea is fairly simple: take a single <img> tag and harness the power of CSS to accomplish complex hover transitions. Through different demos, you will see how CSS masks combined with gradients allow us to create fancy effects — with efficient, reusable code. https://smashingmagazine.com/2023/09/revealing-images-css-mask-animations/

Created 1y | Sep 15, 2023, 8:10:03 AM


Login to add comment

Other posts in this group

Human-Centered Design Through AI-Assisted Usability Testing: Reality Or Fiction?

Eduard Kuric discusses the significance and role of context in the creation of relevant follow-up questions for unmoderated usability testing, how an AI tasked with interactive follow-up should be val

Feb 19, 2025, 1:30:10 PM | Smashing magazine
How OWASP Helps You Secure Your Full-Stack Web Applications

The OWASP vulnerabilities list is the perfect starting point for web developers looking to strengthen their security expertise. Let’s discover how these vulnerabilities materialize in full-stack web a

Feb 18, 2025, 12:10:03 PM | Smashing magazine
How To Test And Measure Content In UX

The goal of content design is to reduce confusion and improve clarity. Yet often it’s difficult to pinpoint a problem as user feedback tends to be not specific enough. But: we can use a few simple tec

Feb 13, 2025, 1:40:09 PM | Smashing magazine
Time To First Byte: Beyond Server Response Time

Optimizing web performance means looking beyond surface-level metrics. Time to First Byte (TTFB) is crucial, but improving it requires more than tweaking server response time. Matt Zeunert breaks down

Feb 13, 2025, 2:10:08 AM | Smashing magazine
How I Created A Popular WordPress Theme And Coined The Term “Hero Section” (Without Realizing It)

In 2013, Marcel Moerkens was working on Brooklyn, his WordPress theme, and he needed a way to make it stand out from the pack of other WordPress themes. Little did he know that the intro section he ca

Feb 10, 2025, 4:10:08 PM | Smashing magazine
Taking RWD To The Extreme

Tomasz Jakut reflects on the evolution of web design, from the days of table-based layouts and Flash games to the rise of responsive web design (RWD), which often feels like the end of history in web

Feb 7, 2025, 6:30:12 PM | Smashing magazine
Integrations: From Simple Data Transfer To Modern Composable Architectures

In today’s web development landscape, the concept of a monolithic application has become increasingly rare. Modern applications are composed of multiple specialized services, each of which handles spe

Feb 4, 2025, 2:10:08 PM | Smashing magazine