Created
September 26, 2016 15:04
-
-
Save rankun203/36a185ac10069791e4edc47d2ad8d7ff to your computer and use it in GitHub Desktop.
Make height animation from height to auto.
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
blockquote:hover { | |
height: auto; | |
max-height: 1500px; | |
overflow: visible; | |
background: rgba(0, 0, 0, 0.03); | |
} | |
blockquote { | |
max-height: 100px; | |
overflow: hidden; | |
cursor: pointer; | |
transition: max-height 1s; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment