Skip to main content
CSS-Tricks
  • Articles
  • Videos
  • Almanac
  • Newsletter
  • Guides
  • DigitalOcean
  • DO Community
Search

Articles Tagged
filter

27 Articles
{
,

}
Direct link to the article Holographic Trading Card Effect
background-blend-mode filter mix-blend-mode

Holographic Trading Card Effect

Direct Link

Simon Goellner (@simeydotme)’s collection of Holographic Trading Cards have captured our attention.

Under the hood there is a suite of filter(), background-blend-mode(), mix-blend-mode(), and clip-path() combinations that have been painstakingly tweaked to reach the desired effect. I …

Avatar of Bradley Kouchi
Shared by Bradley Kouchi on Oct 26, 2022
Direct link to the article Creating Realistic Reflections With CSS
filter mask-image reflection

Creating Realistic Reflections With CSS

In design, reflections are stylized mirror images of objects. Even though they are not as popular as shadows, they have their moments — just think about the first time you explored the different font formats in MS Word or PowerPoint: …

Avatar of Preethi
Preethi on May 2, 2022
Direct link to the article Icon Glassmorphism Effect in CSS
backdrop-filter background-clip element() emoji filter hsl mask-clip navigation

Icon Glassmorphism Effect in CSS

I recently came across a cool effect known as glassmorphism in a Dribble shot. My first thought was I could quickly recreate it in a few minutes if I just use some emojis for the icons without wasting time …

Avatar of Ana Tudor
Ana Tudor on Nov 8, 2021
Direct link to the article Grainy Gradients
background filter gradients svg filters

Grainy Gradients

Browse through Dribbble or Behance, and you’ll find designers using a simple technique to add texture to an image: noise. Adding noise makes otherwise solid colors or smooth gradients, such as shadows, more realistic. But despite designers’ affinity for texture, …

Avatar of Jimmy Chion
Jimmy Chion on Sep 13, 2021 (Updated on Sep 14, 2021)
Direct link to the article Adding Shadows to SVG Icons With CSS and SVG Filters
drop-shadow filter shadow SVG svg filters

Adding Shadows to SVG Icons With CSS and SVG Filters

Why would we need to apply shadows to SVG?

  1. Shadows are a common design feature that can help elements, like icons, stand out. They could be persistent, or applied in different states (e.g. :hover, :focus, or :active)
…
Avatar of Joel Olawanle
Joel Olawanle on Jun 11, 2021
Direct link to the article Getting Deep Into Shadows
box-shadow drop-shadow filter shadow text-shadow

Getting Deep Into Shadows

Let’s talk shadows in web design. Shadows add texture, perspective, and emphasize the dimensions of objects. In web design, using light and shadow can add physical realism and can be used to make rich, tactile interfaces.…

Avatar of Rob O'Leary
Rob O'Leary on Feb 22, 2021 (Updated on Jun 7, 2021)
Direct link to the article Three Ways to Blob with CSS and SVG
blobs border-radius filter SVG svg filters

Three Ways to Blob with CSS and SVG

Blobs are the smooth, random, jelly-like shapes that have a whimsical quality and are just plain fun. They can be used as illustration elements and background effects on the web.

So, how are they made? Just crack open an illustration …

Avatar of Akash Mittal
Akash Mittal on Feb 19, 2021
Direct link to the article SVG within CSS
filter SVG svg filters

SVG within CSS

Stefan Judis has a “Today I Learned” (TIL) post explaining how SVGs filters can be inlined in CSS. The idea is that CSS has the filter property which supports some built-in functions, like grayscale(100%) and stuff like that.

But …

Avatar of Chris Coyier
Chris Coyier on Feb 8, 2021
Direct link to the article Using a brightness() filter to generically highlight content
buttons filter focus hover

Using a brightness() filter to generically highlight content

Direct Link

Rick Strahl:

I can’t tell you how many times over the years I’ve implemented a custom ‘button’ like CSS implementation. Over the years I’ve used images, backgrounds, gradients, and opacity to effectively ‘highlight’ a control. All that works of

…
Avatar of Chris Coyier
Shared by Chris Coyier on Sep 11, 2020
Direct link to the article When Sass and New CSS Features Collide
calc css variables custom properties filter gradients max min Sass

When Sass and New CSS Features Collide

Recently, CSS has added a lot of new cool features such as custom properties and new functions. While these things can make our lives a lot easier, they can also end up interacting with preprocessors, like Sass, in funny …

Avatar of Ana Tudor
Ana Tudor on Jun 29, 2020
Direct link to the article Filtering Data Client-Side: Comparing CSS, jQuery, and React
data filter jQuery react

Filtering Data Client-Side: Comparing CSS, jQuery, and React

Say you have a list of 100 names:

<ul>
  <li>Randy Hilpert</li>
  <li>Peggie Jacobi</li>
  <li>Ethelyn Nolan Sr.</li> 
  <!-- and then some -->
</ul>

…or file names, or phone numbers, or whatever. And you want to filter them client-side, meaning you aren’t …

Avatar of Chris Coyier
Chris Coyier on Sep 24, 2019
  • 1
  • 2
  • 3
  • Older

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • DigitalOcean
  • DigitalOcean Community
  • About DigitalOcean
  • Legal
  • Agency Coaching
  • Free Credit Offer
CSS-Tricks
  • Email
  • Guest Writing
  • Book
  • Advertising
Follow
  • Mastodon
  • Twitter
  • Instagram
  • YouTube
  • CodePen
  • iTunes
  • RSS
Back to Top