🎨
🔘

Button Press Effects

Build button shadows that mimic real-world depth and press states.

ලොගිනය අවශ්‍ය නැත
CSS
box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);

Presets

Layer 1

Buttons tips

🔘

Default state: small downward shadow (0 2px 4px / 15%). Active state: reduce to (0 1px 2px / 25%) so the button feels pressed.

💡

Material Design uses 6 elevation levels (1, 2, 4, 8, 16, 24dp). Each level has a specific dual-shadow recipe — try the "Material 8" preset.

🎯

For floating action buttons, use a much larger blur (24-32px) at 30-40% opacity to suggest hovering above the surface.

🚫

Avoid using shadows on outlined or text-only buttons — they fight the lighter visual weight those styles aim for.

එය ක්‍රියා කරන්නේ කෙසේද

1
ඇතුළු කරන්න
Enter your data into the tool above. Everything stays local to your browser.
2
සකස් කරන්න
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
බාගත කරන්න
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

අපගේ දේ ඇයි භාවිතා කරන්නේ?

සම්පූර්ණයෙන්ම නොමිලේ — කිසිදා සැඟවුණු පිරිවැයක් නැත
ගිණුමක්, විද්‍යුත් තැපෑලක්, හෝ ලොගිනයක් අවශ්‍ය නැත
ගොනු කිසිදා ඔබේ උපාංගය හරහා නොයන්නේය
කිසිදු ගොනු ප්‍රමාණ සීමාවක් නැත
ඕනෑම ප්‍රතිදානයක ජල සලකුණු නැත

Also check out…

නිතර අසන ප්‍රශ්න