Section
Minimal 404 — Gradient Mesh
Gradient Mesh 404 page: Minimal 404.
- Section
- Tailwind
- HTML
- MIT
Preview
Live section
9:41 100%
devsnips.dev/library/tailwind/sections/404/gradient-mesh/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Sections/404/gradient-mesh Tailwind/Sections/404/gradient-mesh <!--
Snippet Name: Minimal 404 — Gradient Mesh
Description: Gradient Mesh 404 page: Minimal 404.
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:'Outfit',sans-serif}.f-mono{font-family:'Outfit',sans-serif}.f-disp{font-family:'Outfit',sans-serif}
.gm-bg{background:linear-gradient(120deg,#7c3aed,#ec4899,#f97316,#06b6d4);background-size:300% 300%;animation:gm 16s ease infinite}
@keyframes gm{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
</style>
<section class="relative w-full py-20 sm:py-28 text-white" data-section="gradient-mesh">
<div class="mx-auto max-w-7xl px-5 sm:px-6 lg:px-8">
<div class="text-center"><h1 class="f-disp text-7xl sm:text-9xl font-bold tracking-tight">404</h1><p class="mt-4 text-lg text-white/70">This page could not be found.</p><p class="mt-2 text-sm text-white/70">It may have been moved or no longer exists.</p><div class="mt-8 flex flex-col sm:flex-row gap-3 justify-center"><a href="/" class="inline-flex items-center justify-center gap-2 rounded-full bg-white px-6 py-3 text-sm font-semibold text-violet-700 shadow-lg hover:bg-white/95"><svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M3 9.5 12 3l9 6.5V21a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><path d="M9 22V12h6v10"/></svg> Back home</a><a href="#" class="inline-flex items-center justify-center gap-2 rounded-full border border-white/40 px-6 py-3 text-sm font-medium text-white hover:bg-white/10"><svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg> Search</a></div></div>
</div>
</section> # Minimal 404 — Gradient Mesh
> Gradient Mesh 404 page: Minimal 404.

## Features
- minimal 404
- oversized numeral
- centered
- dual CTA
- low chrome
## 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
**Gradient Mesh** — 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 18 lines UTF-8 · LF · Spaces: 2
Continue browsing