Collection of free CSS filter code examples from Codepen and other resources

Explore a collection of free CSS filter code examples from Codepen and other resources to create stunning visual effects like blur, grayscale, and brightness on your website.

Blurred Video Effect with CSS filter

Author:
Jhey | November 9, 2019
Made with:
HTML (Pug) / CSS (Stylus)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-

Organic Onboarding

Author:
@keyframers | May 20, 2019
Made with:
HTML / CSS (SCSS) / JS

About a code

CSS & JS content slider with blended gradient background.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

CSS Filter Cards

Author:
Steve Meredith | May 5, 2019
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
FeTurbulence, feColorMatrix, feDisplacementMap

FeTurbulence, feColorMatrix, feDisplacementMap

Author:
yoksel | August 5, 2018
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Concept img Loader Using clip-path + filter

Author:
Jhey | February 28, 2018
Made with:
HTML (Pug) / CSS (Stylus)

About a code

Continuing with clip-path experiments, here's the img loader version that unblurs and colors an img to show loading progress.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Gooey Button Hover Effect with SVG filters & CSS

Author:
Ines Montani | August 8, 2017
Made with:
HTML / CSS

About a code

Uses the "gooey" SVG filter on top of a button element, and pseudo-elements with hover transitions for "bubbles".

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-

Motion Blur Effect Using SVG filters

Author:
Damián Muti | July 26, 2017
Made with:
HTML / CSS (SCSS) / JS

About a code

This is an experiment that simulates a motion blur effect every time a slide is switched. It takes advantage of SVG Gaussian Blur filter and some CSS keyframes animation. Although the effect does not require any Javascript to properly work, in this example Javascript is only used for the slider functionality.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
slick.css, jquery.js, slick.js
Duotone Calendar

Duotone Calendar

Author:
yumeeeei | June 29, 2017
Made with:
HTML / CSS (Stylus) / JS

About a code

Duotone image with SVG filter.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js

Frosted Glass Card Overlay

Author:
Trevor Eyre | June 23, 2017
Made with:
HTML / CSS (SCSS)

About a code

Frosted glass effect using CSS3 filter property. The card's title and description slide up on hover, blurring the card's background behind them.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Spotify Colorizer Effects Using CSS Blend Modes

Author:
Vail Joy | January 7, 2017
Made with:
HTML / CSS

About a code

Use pure CSS to combine mix-blend-mode and filter to achieve Spotify-style "colorizer" effects.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Simple CSS Image Filters

Author:
Vail Joy | November 28, 2016
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Animated SVG Turbulence Filter

Author:
Sean Free | November 9, 2016
Made with:
HTML / CSS (SCSS) / JS (Babel)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
tweenmax.js

Simple Parallax Header with Blur

Author:
tsimenis | April 5, 2016
Made with:
HTML / CSS (SCSS) / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js

Animated SVG Filter FX

Author:
Mai El-Awini | December 24, 2015
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-

Frosted Glass Effect Using Filter Effects

Author:
betravis | March 20, 2014
Made with:
HTML / CSS / JS

About a code

Use a filter to blur an image for the frosted glass effect.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Transitioned CSS Filter Card

Author:
Dudley Storey | February 8, 2014
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Rollover CSS Blur Filter Image Gallery

Author:
sjmcpherson | May 3, 2013
Made with:
HTML (Haml) / CSS (Less)

About a code

Utilizing CSS transitions & transforms and the CSS blur filter.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-

CSS-Filter (Blur) on Image-Caption

Author:
Bram de Haan | March 9, 2013
Made with:
HTML / CSS / JS

About a code

Two variations of hover effects on image, with the CSS-Filter (blur) on (the :before pseudo element of) an image-caption.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
zepto.js

Discover Our Extensive Snippet Library

This heading suggests that your website provides a wide variety of snippets across different technologies, encouraging users to explore and use these resources for their development projects.

HTML Snippets.

Explore a collection of HTML snippets designed to streamline your web development process. From basic structures to complex elements.

CSS Snippets.

Discover powerful CSS snippets that help you style your web pages with ease. Whether you need layout solutions, animations

JavaScript Snippets.

Enhance your website's interactivity with our JavaScript snippets. From DOM manipulation to advanced algorithms

Bootstrap Snippets.

Leverage the power of Bootstrap with our collection of snippets. Quickly integrate responsive design components

Tailwind Snippets.

Speed up your development process with Tailwind CSS snippets. These utility-first CSS snippets enable you to

jQuery Snippets.

Simplify your JavaScript development with jQuery snippets. Easily perform common tasks like event handling, animations

React Snippets.

Build robust, component-based user interfaces with our React snippets. From state management to lifecycle methods,

Vue Snippets.

Streamline Vue.js development with our collection of snippets for creating components, managing state, and handling events.

Ready to set your Brand ablaze?

Let's craft a visual identity that ignites passion and loyalty. ✨