# Waving Hand

> The friendly waving-hand greeting from portfolio heroes, pivoting from the wrist.

- Category: [CSS Effects](https://copy-css.com/category/effects)
- Tags: wave, emoji, hello, greeting, hero, animation
- Live preview: https://copy-css.com/snippets/waving-hand
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<p class="hello"><span class="wave" role="img" aria-label="Waving hand">👋</span> Hi there!</p>
```

## CSS

```css
.hello {
  margin: 0;
  color: #18181b;
  font: 700 28px system-ui, sans-serif;
}

.wave {
  display: inline-block;
  transform-origin: 70% 70%; /* the wrist */
  animation: wave 2.5s ease-in-out infinite;
}

@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}

@media (prefers-reduced-motion: reduce) {
  .wave { animation: none; }
}
```

## Notes

- This CSS Waving Hand is 24 lines of pure CSS (0.5 KB) with no JavaScript and no dependencies. It uses keyframe animations, transforms and reduced-motion support.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
