Section
Centered Contact — Edge Glassmorphism
Edge Glassmorphism contact layout: Centered hero form.
- Section
- Tailwind
- HTML
- MIT
Preview
Live section
9:41 100%
devsnips.dev/library/tailwind/sections/contact/edge-glassmorphism/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Sections/Contact/edge-glassmorphism Tailwind/Sections/Contact/edge-glassmorphism <!--
Snippet Name: Centered Contact — Edge Glassmorphism
Description: Edge Glassmorphism contact layout: Centered hero form.
Author: DevSnips Contributors
Usage Example: Drop this snippet into any Tailwind CSS page.
-->
<style>
/* DevSnips style-helper classes (self-contained snippet) */
.f-sans{font-family:'Sora',sans-serif}.f-mono{font-family:'JetBrains Mono',monospace}.f-disp{font-family:'Sora',sans-serif}
.eg-mesh{background:radial-gradient(at 18% 18%,rgba(236,72,153,.45) 0,transparent 50%),radial-gradient(at 82% 12%,rgba(99,102,241,.45) 0,transparent 50%),radial-gradient(at 75% 78%,rgba(34,211,238,.4) 0,transparent 50%),radial-gradient(at 22% 82%,rgba(168,85,247,.45) 0,transparent 50%),#0b0a1f;background-size:180% 180%;animation:eg-pan 18s ease-in-out infinite alternate}
@keyframes eg-pan{0%{background-position:0 0}100%{background-position:100% 100%}}
.eg-glass{background:rgba(255,255,255,.08);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.16)}
.eg-soft{background:rgba(255,255,255,.06);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.12)}
</style>
<section class="relative w-full py-20 sm:py-28 text-white" data-section="edge-glassmorphism">
<div class="mx-auto max-w-7xl px-5 sm:px-6 lg:px-8">
<div class="mb-10 text-center mx-auto"><p class="mb-4"><span class="inline-flex items-center gap-1.5 eg-soft rounded-full px-3 py-1 f-mono text-[11px] font-medium uppercase tracking-wider text-white/80"><svg class="h-3.5 w-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><rect width="20" height="16" x="2" y="4" rx="2"/><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"/></svg> Contact</span></p><h2 class="f-disp text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-center mx-auto">Let's talk</h2><p class="mt-4 max-w-2xl text-center mx-auto text-base sm:text-lg leading-relaxed text-white/60">Reach out and our team will reply within one business day.</p></div><div class="mx-auto max-w-2xl"><div class="eg-glass rounded-2xl p-8 sm:p-10"><form class="space-y-4"><div><label class="mb-1.5 block text-sm font-medium text-white/60" for="email">Email</label><input id="email" name="email" type="email" placeholder="you@company.com" class="w-full eg-soft rounded-xl px-4 py-3 text-white placeholder:text-white/40 focus:outline-none focus:ring-2 focus:ring-cyan-300/40"></div><textarea rows="4" placeholder="Your message" class="w-full eg-soft rounded-xl px-4 py-3 text-white placeholder:text-white/40 focus:outline-none focus:ring-2 focus:ring-cyan-300/40" aria-label="Message"></textarea><button type="submit" class="bg-gradient-to-r from-fuchsia-500 to-indigo-500 text-white rounded-xl font-semibold shadow-lg hover:shadow-fuchsia-500/30 w-full justify-center"><svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="m22 2-7 20-4-9-9-4Z"/><path d="M22 2 11 13"/></svg> Send message</button></form></div><p class="mt-4 text-center text-sm text-white/60">Or email us directly at <a href="mailto:hello@company.com" class="font-semibold">hello@company.com</a></p></div>
</div>
</section> # Centered Contact — Edge Glassmorphism
> Edge Glassmorphism contact layout: Centered hero form.

## Features
- centered hero form
- single email field
- direct email fallback
- max-width panel
- submit CTA
## Responsive support
- Mobile-first layout
- Breakpoints: `sm` (640px), `md` (768px), `lg` (1024px)
- Stacks gracefully on small screens, expands on large viewports
## Browser support
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
## Usage
1. Copy the markup from `code.html` into your Tailwind CSS project.
2. Include the corresponding Google Fonts in your document `<head>` if the style requires them.
3. The snippet is self-contained and copy-paste ready — no build step or JavaScript required.
## Design language
**Edge Glassmorphism** — part of the DevSnips Tailwind Sections library. Every section is
original, accessible, and production-ready.
## Files
- `preview.html` — full standalone preview page (Tailwind CDN + fonts)
- `code.html` — copy-paste snippet only (no `<head>` / CDN)
- `metadata.json` — structured metadata
- `README.md` — this file 20 lines UTF-8 · LF · Spaces: 2
Continue browsing