Glassmorphism
Modern, frosted glass effect perfect for dark themes
Glassmorphism
by FreeCsStyles Dev's
ModernCSS
🌐HTML/CSS
#glass#blur#dark
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/glassmorphism.
<iframe src="/embed/glassmorphism" sandbox="allow-scripts" loading="lazy" title="Glassmorphism" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Glassmorphism. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.
HTML
<div class="glass-form">
<input type="text" placeholder=" " class="glass-input">
<label>Email Address</label>
</div>CSS
.glass-form {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 16px;
padding: 1rem;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.glass-input {
width: 100%;
padding: 0.8rem;
background: transparent;
border: 2px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
color: white;
}
.glass-input:focus {
border-color: rgba(108, 99, 255, 0.6);
outline: none;
}Topics
- #glass
- #blur
- #dark