Welcome to Modern Web

This is a hero section. Notice how everything is centered using flexbox. The gradient text above uses bg-clip-text trick!

CSS Grid Demo

🚀

Fast Performance

Notice the group-hover effect. When you hover the card, the icon scales up!

âš¡

Lightning Speed

Grid automatically handles responsive layout. Resize your browser to see!

🎨

Beautiful Design

This card spans 2 columns on tablet but goes back to 1 on desktop. Responsive magic!

Flexbox Row/Column Magic

Learn Flexbox Direction

On mobile, this content stacks vertically (flex-col). On desktop, it sits side-by-side (flex-row). The flex-1 class makes both sides take equal space.

HTML/CSS 90%
Tailwind 85%
Astro 80%
Image/Video Here

Understanding Position & Z-Index

The blurry circle behind this text uses absolute positioning. This text uses relative positioning with z-10 to appear on top!

CSS Transforms & Animations

Translate Y

Hover me to move up!

Rotate

Hover me to rotate!

Scale

Hover me to grow!

Skew

Hover me to skew!

Built-in Tailwind animations: bounce, pulse, spin, ping

Responsive Design Breakpoints

Resize your browser! This box changes color at different breakpoints:

Mobile (red)

w-full (100% width)

w-3/4 (75% width)

w-1/2 (50% width)

w-1/4 (25% width)

Advanced Grid Layout

2x2 Grid Item

1x1

1x1

2x1 Wide Item

1x2 Tall

1x1

1x1

1x1

Form Styling