Skip to content

Commit

Permalink
Added rubberband attention grabber from Animate.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Hennessy committed Jan 14, 2015
1 parent 15d005a commit be51cea
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/themes/default/modules/transition.overrides
Expand Up @@ -22,6 +22,9 @@
.pulse.transition {
animation-name: pulse;
}
.rubberband.transition {
animation-name: rubberband;
}

/* Flash */
@keyframes flash {
Expand Down Expand Up @@ -95,6 +98,37 @@

}

/* Rubberband */
@keyframes rubberband {
0% {
transform: scale3d(1, 1, 1);
}

30% {
transform: scale3d(1.25, 0.75, 1);
}

40% {
transform: scale3d(0.75, 1.25, 1);
}

50% {
transform: scale3d(1.15, 0.85, 1);
}

65% {
transform: scale3d(.95, 1.05, 1);
}

75% {
transform: scale3d(1.05, .95, 1);
}

100% {
transform: scale3d(1, 1, 1);
}
}

/*--------------
Flips
---------------*/
Expand Down

0 comments on commit be51cea

Please sign in to comment.