Badge Webflow Award Winner 2023

Webflow tutorial: Glassmorphism effect

In today's Webflow tutorial, we will see how to add a glassmorphism effect to your Webflow project.

Published on 
14/4/2022
-
Amended on 
23/3/2023
-
5 min
Example of the blue glassmorphism effect on the webflow design interface

In today's Webflow tutorial, we will see how to add a glassmorphism effect to your Webflow project.

1 - What is glassmorphism?

Glassmorphism is a user interface (UI) trend that gives a transparent effect to elements. However, it is not just transparency, in fact, this design style offers a "frosted glass" effect. Thanks to the depth and hierarchy system, a layered impression can be brought to the fore, as if there are pieces of glass on top of your device.

Example glassmorphism effect website

2 - How to add a glassmorphism effect on your Webflow site?

To give a glass effect to your elements on Webflow, there is a very simple method. In a few steps, you can have this design trend on your site.

2.1 - Prepare your block in Webflow

First, you will need to log in to your Webflow account and enter your project designer.

Next, you will go to the section, where you want to add a glassmorphism effect. Once inside, you will be able to add a "div block". You have to remember to name it with a class. You can position it wherever you want, give it your own dimensions, but you must not give it a background.

Adding a div block in webflow for glassmorphism

2.2 - Go to Glassmorphism.com

Glassmorphism.com offers a handy no-code tool to test your glassmorphism effects live and copy the CSS code for the effect. You can play with transparency, blur and colour. Once you have the effect that suits you best, you can copy the glassorphism css code.

Customize your glassmorphism effect on glassmorphism.com

2.3 - Adding code to an embed on Webflow

Now that you have copied the css code, you can return to your Webflow project. In the previous "div block" you created, you will be able to insert the "embed" element.

Add embed element in webflow for glassmorphism effect

In the code editor, you will add the following code and customise it according to your settings:

For example, in our case, this gives :

Adding the glassmorphism custom code to Webflow

Then click on "Save & close". Your effect is automatically put in your block.

Example of glassmorphism effect on Webflow

You can then add elements on top or behind your glassmorphism effect.

Example of glassmorphism effect on Webflow with elements

Another method is to play with the opacity of the background and the blur of your block, but the result will not be the same.

Now you know how to add the glassmorphism effect to your blocks on Webflow. To learn more about Webflow, you can visit our blog or our YouTube channel!

Ready to take your website to the next level?

Improve your online visibility thanks to Digidop's experience, excellence and reactivity!

Stay in touch with Digidop news!