CSS Animations

Hover, scroll, click, mousemove animations, easy usage, good perfomance.

npm install animated-css pnpm install animated-css yarn add animated-css

Astro example

---
import 'animated-css/src/animations/slideIn.css'
---

<h1 data-acss="viewport slideIn 1s">Animated CSS</h1>

<script>
  import init from 'animated-css'
  init()
</script>

Hover Animations

It executes when the element is hovered

Blink

Shake

Bounce

Diagonal shake

Fast vertical shake

Flip horizontal

Horizontal shake

Opacity and scale

Oscillate

Pendulum

Size and opacity change

Size change

Stretch

Vertical bounce

Vertical shake

Zigzag slide

Move

Viewport Animations

It executes when the element is in the viewport

Slide In

Fade In

Appear and rotate

Blur in out

Crescendo

Diagonal slide

Diagonal slide and opacity

Diagonal slide and rotate

Fade and diagonal move

Fade and enlarge

Fade and rotate

Fade and scale

Fade and slide

Fade and spin

Horizontal shake and fade

Horizontal slide

Rotate 3D

Scale and fade

Scale and rotate

Scale up

Slide and fade

Slide down

Zoom fade

Zoom in

Mousemove Animations

It executes when the element is hovered and is in movement

Parallax effect

Forever Animations

It executes forever

Floating

Other Animations

It executes in other situations

Fade out

Alternate scale

Decrescendo

Fade out

Scale down

Zoom out

Diagonal rotate

Fast blink

Fade half

Fast random blink

Opacity and rotate

Position change

Random blink

Rotate

Rotate and fade

Rotate and opacity

Rotate and scale

Rotate left

Rotate right

Size change

Sway

Slide out

Side bounce

Size and rotate