Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .growImgCenterFast {
- float: left;
- height: 600px;
- overflow: hidden;
- }
- .growImgCenterFast img {
- display: inline-block;
- -webkit-transition-duration: 0.3s;
- transition-duration: 0.3s;
- -webkit-transition-property: -webkit-transform;
- transition-property: transform;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- -webkit-transform: translateZ(0);
- -ms-transform: translateZ(0);
- transform: translateZ(0);
- box-shadow: 0 0 1px rgba(0, 0, 0, 0);
- width: 100%;
- }
- .growImgCenterFast img:hover {
- -webkit-transform: scale(1.1);
- -ms-transform: scale(1.1);
- transform: scale(1.1);
- }
- /*
- Usage:
- <div class="growImgCenterFast"><img src="" width="800" height="600" /></div>
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement