Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Glassmorphic List</title> <style> /* ========================================================================== Styles for Demo Preview Only ========================================================================== */ body { /* A colorful background is needed to see the glass effect */ background: linear-gradient(135deg, #8b5cf6, #ec4899); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; padding: 2rem; min-height: 100vh; display: flex; align-items: center; justify-content: center; } /* ========================================================================== Glassmorphic List Component Styles - Copy from here ========================================================================== */ .glassmorphic-list-template { --glass-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --glass-text-color: #ffffff; --glass-bg-color: rgba(255, 255, 255, 0.15); --glass-border-color: rgba(255, 255, 255, 0.2); --glass-blur-amount: 10px; font-family: var(--glass-font-family); color: var(--glass-text-color); width: 100%; max-width: 900px; position: relative; /* For the background shapes */ z-index: 1; } .glassmorphic-list-template *, .glassmorphic-list-template *::before, .glassmorphic-list-template *::after { box-sizing: border-box; } /* Decorative background shapes */ .background-shapes { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; overflow: hidden; } .shape { position: absolute; border-radius: 50%; } .shape-1 { width: 200px; height: 200px; background: rgba(236, 72, 153, 0.5); /* pink */ top: -50px; left: -50px; } .shape-2 { width: 250px; height: 250px; background: rgba(139, 92, 246, 0.5); /* violet */ bottom: -80px; right: -80px; } .glassmorphic-list-template .list-header { text-align: center; margin-bottom: 2.5rem; } .glassmorphic-list-template .list-header h2 { font-size: 2rem; margin: 0; font-weight: 600; } .glass-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } .glass-item { /* The main Glassmorphism styles */ background-color: var(--glass-bg-color); backdrop-filter: blur(var(--glass-blur-amount)); -webkit-backdrop-filter: blur(var(--glass-blur-amount)); /* For Safari */ border: 1px solid var(--glass-border-color); border-radius: 1rem; padding: 2rem; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); } .glass-item .item-icon { font-size: 2rem; margin-bottom: 1rem; } .glass-item .item-icon i { /* Add a subtle text shadow to make the icon pop */ text-shadow: 0 1px 2px rgba(0,0,0,0.1); } .glass-item h3 { font-size: 1.25rem; margin: 0 0 .5rem 0; } .glass-item p { margin: 0; font-size: .9rem; line-height: 1.6; opacity: 0.8; } </style> <!-- Font Awesome for icons --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> </head> <body> <div class="glassmorphic-list-template"> <div class="background-shapes"> <div class="shape shape-1"></div> <div class="shape shape-2"></div> </div> <header class="list-header"> <h2>Our Services</h2> </header> <ul class="glass-list"> <li class="glass-item"> <div class="item-icon"><i class="fa-solid fa-lightbulb"></i></div> <h3>Brand Identity</h3> <p>We forge unforgettable brands from the ether, crafting logos and messaging that resonate across the cosmos.</p> </li> <li class="glass-item"> <div class="item-icon"><i class="fa-solid fa-code"></i></div> <h3>Web Development</h3> <p>Our digital artisans build blazingly fast websites that bend the fabric of spacetime to deliver an unparalleled user experience.</p> </li> <li class="glass-item"> <div class="item-icon"><i class="fa-solid fa-pen-nib"></i></div> <h3>Digital Marketing</h3> <p>We launch targeted campaigns that navigate the nebulous seas of social media to find and captivate your perfect audience.</p> </li> </ul> </div> </body> </html>