ToolypetMCP
beginner4 minutescss

Hero Section Design

Design a stunning hero section with gradient background, flexbox centering, and entrance animation.

herogradientflexboxanimation

何时使用此配方

Perfect for landing pages, marketing sites, and portfolio homepages. A well-designed hero section captures attention immediately and sets the tone for the rest of the page.

步骤

1

Gradient Generator

试用此工具

Create an immersive background gradient

提示词:Generate a radial gradient from dark blue (#1e3a5f) to black (#0a0a0a) for a hero background
2

Flexbox Generator

试用此工具

Center the hero content

提示词:Generate flexbox CSS to center content both horizontally and vertically in a column direction
3

Animation Generator

试用此工具

Add entrance animation

提示词:Generate a fade-in-up animation: opacity 0 to 1 and translateY 20px to 0 over 600ms ease-out

常见问题

How do I add a background image over the gradient?

Layer a background-image with the gradient using CSS multiple backgrounds: background: linear-gradient(...), url('image.jpg').

What's the ideal hero section height?

Most hero sections use min-height: 100vh for full-screen impact, or min-height: 60vh for a more compact design.

相关配方