CSS Snippet to Add Glassmorphism Effect in Bricks Builder

This effect transforms sections of your website or app into translucent glass, allowing just enough of the background to peek through while gently softening it. The result is a sleek, modern touch that adds both depth and elegance, perfect for making your content stand out without overwhelming the overall design.

  • Published on: August 22, 2025
  • Updated on: August 23, 2025

Wasim Akram

Snippet Author

Bricksism - Default Featured Image

With this custom CSS snippet, you can instantly apply a glassmorphism (frosted glass) effect to any Bricks Builder component.

It lays a semi-transparent, blurred panel with subtle shadows and rounded corners over your vibrant backgrounds, giving a genuine glass-like appearance.

This style is ideal for those times you want certain UI elements to pop yet still let the background breathe; modern, clean, and visually engaging.

View Real Examples

Copy the Snippet

/*
 * Snippet: Glassmorphism CSS Effect
 * Author: Wasim Akram
 * Link: https://bricksism.com/snippet/css-for-glassmorphism-effect/
 * Version: 1.0
 */

%root% {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)); /* white gradient with transparency */
    background-size: cover; /* ensure gradient covers entire area */
    background-clip: padding-box; /* clips background to inside border */
    backdrop-filter: blur(10px); /* applies blur to what's behind */
    -webkit-backdrop-filter: blur(10px); /* Safari/Chrome blur support */
    border-radius: 20px; /* rounded corners radius */
    border: 1px solid rgba(255, 255, 255, 0.18); /* subtle translucent border */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); /* shadow for depth */
    color: #fff; /* text color for readability */
}

Use with Bricks Builder

Here’s a simple step-by-step checklist for applying the glassmorphism CSS snippet to any component, like a header, card, or others in Bricks Builder, by adding the snippet to the CSS field of that element:

  1. Open Bricks Editor:
    Edit the page or template with Bricks where your target element (header, card, etc.) is located.
  2. Select the Element:
    Click on the element you want to apply the glassmorphism effect to.
  3. Go to the CSS Style:
    In the element’s Style panel, find the CSS tab.
  4. Insert the CSS Snippet:
    Copy the glassmorphism CSS snippet from this page and paste it directly into the element’s Custom CSS field inside the CSS tab.
  5. Save and Preview:
    Save your changes and preview the page to see the glassmorphism effect in action.
  6. Adjust if Needed:
    Tweak the CSS values like blur amount, border radius, or shadow to match your design preferences.

This approach lets you easily add the frosted glass effect smoothly on any selected component within Bricks Builder without any hassle.

5 3 votes
Article Rating
Subscribe
Notify of
guest
2 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments

Related Snippets

Keep exploring and sharpen your Bricks Builder skills with more expert snippets tailored just for you.

Explore More Snippets
Bricksism - Default Featured Image

CSS Snippet to Add Layered Glow Effect in Bricks Builder

This effect creates a soft, luminous glow surrounding any shape or element by layering blurred duplicates. It adds gentle depth and visual focus without overpowering the design, perfect for giving…

Read Now

Connect. Learn. Build Together.

Become part of the Bricksism family; a vibrant, supportive community where freelancers, designers, and agencies come together to share insights, ask questions, and celebrate wins. Here, you’ll find encouragement, real-world tips, and a network of passionate Bricks Builder users ready to help you grow.

Join Facebook Community
  • Connect with passionate Bricks Builder users who share your goals and challenges.
  • Access practical tips, insider tricks, and real-world solutions tailored for all skill levels.
  • Share your progress, get feedback, and celebrate your wins with a supportive network.
  • Stay updated on the latest Bricks features, tutorials, and community events.
  • Experience friendly mentorship and no-fluff guidance, making web building easier and more fun.
Bricksism - Default Featured Image

👨‍💻 Need Help Adding the Glassmorphism Effect to Your Site Built with Bricks?

If you want the glassmorphism effect fully set up on your Bricks Builder site without lifting a finger; I can handle everything for you. Whether it's applying this sleek frosted-glass style or crafting similar custom CSS and effects, I’ll ensure your site (or your client’s) looks modern, polished, and works flawlessly.

Request Your Setup