Created
October 22, 2019 13:09
-
-
Save robertdrakedennis/0c4d356f91a501774c26487ff4e69497 to your computer and use it in GitHub Desktop.
Simple utilities for animation + misc helpers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.background-repeat-none { | |
background-repeat: no-repeat; | |
} | |
.background-size-cover { | |
background-size: cover; | |
} | |
.ease-linear { | |
transition-timing-function: linear | |
} | |
.ease-in { | |
transition-timing-function: cubic-bezier(.4,0,1,1) | |
} | |
.ease-out { | |
transition-timing-function: cubic-bezier(0,0,.2,1) | |
} | |
.ease-in-out { | |
transition-timing-function: cubic-bezier(.4,0,.2,1) | |
} | |
.transition-fastest { | |
transition-duration: 75ms | |
} | |
.transition-faster { | |
transition-duration: .1s | |
} | |
.transition-fast { | |
transition-duration: .15s | |
} | |
.transition-medium { | |
transition-duration: .2s | |
} | |
.transition-slow { | |
transition-duration: .3s | |
} | |
.transition-slower { | |
transition-duration: .5s | |
} | |
.transition-slowest { | |
transition-duration: .7s | |
} | |
.transition-all { | |
transition-property: all | |
} | |
.transition-opacity { | |
transition-property: opacity | |
} | |
.transition-transform { | |
transition-property: transform | |
} | |
.translate-x-full { | |
transform: translateX(100%) | |
} | |
.translate-x-0 { | |
transform: translateX(0) | |
} | |
.scale-90 { | |
transform: scale(.9) | |
} | |
.scale-100 { | |
transform: scale(1) | |
} | |
.origin-top { | |
transform-origin: top | |
} | |
.origin-top-right { | |
transform-origin: top right; | |
} | |
.origin-right { | |
transform-origin: right | |
} | |
.origin-bottom-right { | |
transform-origin: bottom right | |
} | |
.origin-bottom { | |
transform-origin: bottom | |
} | |
.origin-bottom-left { | |
transform-origin: bottom left | |
} | |
.origin-left { | |
transform-origin: left | |
} | |
.origin-top-left { | |
transform-origin: top left | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment