Skip to content
/ breathe Public

Let any site breathe through attribute-based element animations.

License

Notifications You must be signed in to change notification settings

flecss/breathe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

breathe

Let any site breathe through attribute-based element animations.

Integration

<head>
  <script src="https://cdn.jsdelivr.net/gh/flecss/breathe@main/dist/breathe.js"></script>
<head>

Usage

Simply add a breathe pattern to an element that should be animated. The respectively specified animation pattern fires once upon scroll into view.

<div data-breathe="fade">
  <strong>breathe</strong>
  <p>
    Let any site breathe…
  </p>
</div>

Pattern Reference

Pattern
fade
rise
flip-h
flip-v
bounce
pulse

© Thassilo Martin Schiepanski

About

Let any site breathe through attribute-based element animations.

Topics

Resources

License

Stars

Watchers

Forks