Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- #scroll{
- transition: width 0.5s, height 1s;
- overflow: scroll;
- overflow-x: hidden;
- height: 90px;
- width: 160px;
- border: 1px black solid;
- }
- #scroll:hover {
- height: 250px;
- width: 240px;
- z-index: 2;
- transform-origin: 50% 50%;
- -moz-transition: all 0.8s;
- -webkit-transition: all 0.8s;
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement