CSS Latte Art: Module 3

← Dashboard
Module 3: Visual Texture

Advanced Decor

Create depth with gradients, box-shadow, and glassmorphism — those trendy frosted-glass overlays.

/* Gradient */
background: linear-gradient(135deg, #6f4e37, #d4a373);

/* Shadow & depth */
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
text-shadow: 0 1px 2px rgba(0,0,0,0.2);

/* Glassmorphism */
background: rgba(255,255,255,0.3);
backdrop-filter: blur(10px);

Glassmorphism Preview

Frosted Glass Card

backdrop-filter: blur() + semi-transparent background

Pro Tip

Use background-blend-mode for creative color overlays.

Shadow

box-shadow: x-offset y-offset blur spread color