1. Carte verre dépoli (pratique 2025)
Designer front-endContexte
Une landing avec fond dégradé a besoin d’une carte lisible, sans recoder à la main blur, saturation, grain et repli navigateur.
Problème
Obtenir un verre dépoli cohérent : blur(12px) saturate(160%), teinte 0,15, bordure, ombre, reflet inset et Tailwind.
Utilisation
Style Glassmorphism, flou 12 px, saturation 160 %, teinte #ffffff à 0,15, rayon 16 px, bordure 1 px / 0,25, ombre 0,12, reflet, grain et @supports activés.
style: glass, blurPx: 12, saturatePct: 160, tintColor: #ffffff, tintAlpha: 0.15, radiusPx: 16, borderWidth: 1, borderAlpha: 0.25, shadowAlpha: 0.12, topHighlight: true, noiseOverlay: true, includeFallback: trueRésultat
Snippet CSS avec -webkit-backdrop-filter, ::before grain, repli @supports, mapping Tailwind (note v4) et aperçu de la carte sur dégradé.