🧊

Liquid Glass Generator

Glass Effects

Charles McBrayer

Charles McBrayer

UI/UX Designer

Some quick example text to build on the card title and make up the bulk of the card content.

Generated Code

/* Background styles */
body {
  background-image: url('https://images.unsplash.com/photo-1519681393784-d120267933ba');
  background-position: center;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glassmorphism card effect */
.glass-card {
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background-color: rgba(17, 25, 40, 0.75);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  padding: 2rem;
  max-width: 24rem;
  width: 100%;
  color: white;
}

/* Component specific styles */
.glass-card img {
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.glass-card button {
  background-color: #059669;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

.glass-card button:hover {
  background-color: #047857;
}

/* Generated by Liquid Glass Generator */
HTML Structure
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Glass Component</title>
  <link rel="stylesheet" href="styles.css">
</head>
<body>
  <div class="glass-card">
    <div class="text-center">
      <img src="/placeholder.svg?height=120&width=120" 
           alt="Charles McBrayer" 
           width="120" height="120">
      
      <h2>Charles McBrayer</h2>
      <p class="subtitle">UI/UX Designer</p>
      
      <button>Follow</button>
      
      <p class="description">Some quick example text to build on the card title and make up the bulk of the card content.</p>
    </div>
  </div>
</body>
</html>