ToolypetMCP
beginner3 minutescss

Complete Button Style

Create a polished button with gradient background, shadow, border radius, and hover animation using MCP tools.

buttongradientshadowanimation

Quando usar esta receita

When building a call-to-action button that needs to look polished and professional. This recipe combines four CSS properties into a cohesive button design that works across all modern browsers.

Etapas

1

Create the button's gradient background

Prompt:Generate a linear gradient from blue (#3b82f6) to purple (#8b5cf6) at 135 degrees for a button background
2

Add depth with a subtle shadow

Prompt:Generate a soft elevation shadow with 4px y-offset and 12px blur in rgba(0,0,0,0.15)
3

Border Radius Generator

Experimente esta ferramenta

Round the button corners

Prompt:Generate 8px border radius for all corners
4

Add a hover scale effect

Prompt:Generate a scale-up hover animation from 1.0 to 1.05 over 200ms with ease-out

Perguntas frequentes

Can I customize the gradient colors?

Yes, modify the gradient step to use any two colors. Popular combinations include blue-to-green, orange-to-red, and teal-to-cyan.

Will this work with dark mode?

The gradient and shadow properties work in both light and dark modes. You may want to adjust shadow opacity for dark backgrounds.

Receitas relacionadas