Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .toggle-content {
- transform: scaleY(0);
- transform-origin: top left;
- transition: transform .5s;
- &.open {
- transform: scaleY(1);
- transition: transform .5s;
- }
- }
- $('.toggle-button').on('click', function() {
- $('.toggle-content').toggleClass('open');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement