Skip to content

Instantly share code, notes, and snippets.

@akshay-nm
Last active May 26, 2020 10:11
Show Gist options
  • Save akshay-nm/827ba8a3781bac9d79dc7986634120cb to your computer and use it in GitHub Desktop.
Save akshay-nm/827ba8a3781bac9d79dc7986634120cb to your computer and use it in GitHub Desktop.
Image Reveal component animation states
States Cover attributes Image attributes
S0 { left: 0%, width: 0% } { opacity: 0, transform: scale(0.5) }
S1 { width: 100% } no change
S2 { width: 0%, left: 100% } { transform: scale(1), opacity: 1 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment