Collection of free HTML and CSS glassmorphism effect examples from Codepen and other resources

Browse a collection of free HTML and CSS glassmorphism effect code examples from Codepen and other resources to create modern, frosted glass-like designs for your website.

Glassmorphism: Modern Landing Page with Squircle Buttons

About a code

The CSS code defines a color scheme using HSL (Hue, Saturation, Lightness) values, which are stored as CSS variables for easy reference and modification. The buttons are designed with a unique squircle shape achieved using the clip-path property. They also have a hover effect that moves the button slightly upwards and increases the opacity of a circular background.

About a code

Glassmorphism Card UI Design

About a code

One of the most engaging features of this design is the interactive effect when a card is hovered over. The bottom content, which includes the title, subtitle, and social media icons, transitions from being hidden to visible. This is achieved through a combination of CSS properties such as transition, transform, and opacity.

About a code

Clock Design: Glassmorphism vs Neumorphism

About a code

The Glassmorphism style, characterized by its "frosted glass" effect, is achieved using the backdrop-filter CSS property. On the other hand, the Neumorphism style uses the box-shadow CSS property to create a soft, extruded plastic look. Both clocks are updated every second using JavaScript's setInterval function. The rotation of the clock hands is achieved by changing the CSS transform property, creating a dynamic and interactive user experience. Furthermore, the VanillaTilt.init function is used to apply a subtle 3D tilt effect to the Glassmorphism clock, enhancing its interactive and modern design.

About a code

Nested Glassmorphism: Blog Design

Nested Glassmorphism: Blog Design

About a code

The HTML structure is nested, with each layer of nesting representing a different section of the blog post, such as the title, body, and footer. The CSS styling employs the Glassmorphism design trend, using backdrop-filter to apply a blur effect to the background elements, creating a frosted glass effect. The rgba function is used to apply semi-transparent colors, further enhancing the glass-like appearance. The design also uses nested divs, each with a slightly different level of transparency and blur, to create a layered glass effect. This is achieved by adjusting the background-color and backdrop-filter properties for each nested .page class.

About a code

Glassmorphism Effect with HTML and CSS

About a code

The HTML structure consists of a card with a profile photo, name, job title, location, company, and email address. The CSS code applies the Glassmorphism effect to the card using the backdrop-filter: blur(10px); property on the .card class, which creates a blurred, glass-like background. The CSS also includes a dark theme (.black-theme) and a light theme (.white-theme), allowing for a switch between two different visual styles. The themes are applied to the entire body of the document, affecting all nested elements.

About a code

CSS Glassmorphism Button Hover Effects

Author:
Katarzyna Marta Kuich | August 24, 2022
Made with:
HTML / CSS

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

Glassmorphism Icon Buttons

Author:
Taylon, Chan | April 23, 2022
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-
Glassmorphism: Simple Card UI

Glassmorphism: Simple Card UI

Author:
Rahul | March 28, 2022
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
HTML Only Glassmorphism Components

HTML Only Glassmorphism Components

Author:
Aron | January 31, 2022
Made with:
HTML

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

Claymorphism + Glassmorphism

Author:
MOZZARELLA | January 5, 2022
Made with:
HTML / CSS

About a code

Card combining Claymorphism and Glassmorphism.

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

NFT Card Component

Author:
kiberbash | December 15, 2021
Made with:
HTML / CSS (SCSS)

About a code

NFT card component with Glassmorphism and highlighted hover transition.

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

Blob Animation And Glassmorphism with CSS

Author:
TheDevEnv | December 8, 2021
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
Weather (Glassmorphism UI)

Weather (Glassmorphism UI)

Author:
Su Thae Thae Po | October 7, 2021
Made with:
HTML / CSS

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

Tab-Bar Glassmorphism Effect

Author:
Saba Alikhani | September 19, 2021
Made with:
HTML / CSS / JS

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

Glassmorphism Calculator UI

Author:
Tirso Lecointere | July 29, 2021
Made with:
HTML / CSS (SCSS) / JS

About a code

Glassmorphism calculator UI with dark mode.

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

Jelly Card Glassmorphism

Author:
JellyPir.@t Coding | July 27, 2021
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
bootstrap.css, font-awesome.css

Glassmorphism Loader

Author:
shawn | June 30, 2021
Made with:
HTML / CSS

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

Glassmorphism Clock

Author:
Coding Artist | June 19, 2021
Made with:
HTML / CSS / JS

About a code

A digital clock create with Glassmorphism UI using vanilla JavaScript.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-
MacOS App Store Glassmorphism

MacOS App Store Glassmorphism

Author:
Aviral | June 9, 2021
Made with:
HTML / CSS (SCSS) / JS

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

Glassmorphism Side Navbar With HTML & CSS

Author:
Nikhil27bYt | May 19, 2021
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
line-awesome.css

Glowing Gradient Glassmorphism Card

Author:
Kodplay | April 30, 2021
Made with:
HTML / CSS

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

iPhone 12 vs Galaxy S21

Author:
Kalimah Apps | February 1, 2021
Made with:
HTML / CSS (SCSS) / JS

About a code

Glassmorphic design comparing Apple iPhone 12 Pro Max vs Samsung Galaxy S21 Ultra.

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

Product Glassmorph

Author:
Alex | February 1, 2021
Made with:
HTML / CSS (SCSS)

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

Social Icon Glassmorph

Author:
Alex | January 27, 2021
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css
Glassmorphism Clock

Glassmorphism Clock

Author:
Coding Artist | January 19, 2021
Made with:
HTML / CSS / JS

About a code

Glassmorphism UI analog clock.

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

Glassmorphism Credit Card

Author:
ron | January 18, 2021
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
jquery.js
Feedback Modal Design

Feedback Modal Design

Author:
Rizky Firman Syah | January 14, 2021
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Opera, Safari
Responsive:
no
Dependencies:
font-awesome.css
Glassmorphism Creative Cloud App Redesign

Glassmorphism Creative Cloud App Redesign

Author:
Aysenur Turk | January 2, 2021
Made with:
HTML / CSS (SCSS) / JS

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

Glassmorphism vs Neumorphism Cards

Author:
Quentin Feret | December 22, 2020
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
font-awesome.css, vanilla-tilt.js
Glassmorphism UI Card

Glassmorphism UI Card

Author:
Coding Artist | December 18, 2020
Made with:
HTML / CSS

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

Glassmorphism and Nav Animation

Author:
Husnul Aman | December 19, 2020
Made with:
HTML / CSS / JS

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

Glassmorphism

Author:
Jayasree | December 15, 2020
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
vanilla-tilt.js
Simple Pagination Design Using Glassmorphism Effect

Simple Pagination Design Using Glassmorphism Effect

Author:
FullyworldWebTutorials | December 15, 2020
Made with:
HTML / CSS

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

Glassmorph JS Calculator

Author:
Jack Ellis | December 14, 2020
Made with:
HTML / CSS (SCSS) / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
vanilla-tilt.js
Glassmorphism Credit/Debit Card

Glassmorphism Credit/Debit Card

Author:
Shounak | December 11, 2020
Made with:
HTML / CSS

About a code

An aesthetic, bank card design with pure CSS, based on glassmorphism.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-
Glassmorphic Sign in Form

Glassmorphic Sign in Form

Author:
Shounak | December 10, 2020
Made with:
HTML / CSS (SCSS)

About a code

A simple, easy sign in / log in form made with pure CSS, based on glassmorphism.

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

Glassmorphism Animated

Author:
jSpilka95 | December 9, 2020
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
CSS Glassmorphism Card Hover Effects

CSS Glassmorphism Card Hover Effects

Author:
Luisoms | December 9, 2020
Made with:
HTML / CSS (SCSS) / JS

Compatible browsers:
Chrome, Edge, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css
Glassmorphism

Glassmorphism

Author:
Sambat | December 8, 2020
Made with:
HTML / CSS / JS

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

GlassMorphism

Author:
Gutu Galuppo | December 8, 2020
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
vanilla-tilt.js

Glass Card with SVG + GSAP

Author:
Tom Miller | December 2, 2020
Made with:
HTML / CSS / JS

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

Glassmorphism

Author:
Vihanga nivarthana | December 1, 2020
Made with:
HTML / CSS

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

Glassmorphism

Author:
Albert | November 23, 2020
Made with:
HTML / CSS

About a code

A simple example of glassmorphism design trend in pure CSS.

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

Microsoft Fluent Material

Author:
Simone Bernabè | June 14, 2017
Made with:
HTML / CSS (SCSS)

About a code

The new Microsoft Fluent design, with his layer.

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

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. ✨