Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .container{
- margin-top: 50px;
- margin-left: 100px;
- position: relative;
- width: 250px;
- height: 250px;
- background-color: #333;
- overflow: hidden;
- }
- .zoom-image{
- height: 384px !important;
- width: 290px !important;
- position: relative;
- left: -20px;
- right: -20px;
- top: -20px;
- bottom: -20px;
- }
- .imageContainer-left{
- position: absolute;
- height: 100%;
- overflow: hidden;
- float: left;
- }
- .imageContainer-right{
- position: absolute;
- height: 100%;
- overflow: hidden;
- float: right;
- }
- .clipVertical{
- /* how can this automatically
- center the image */
- margin-top: 0%;
- margin-left: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- width: 100%;
- }
Add Comment
Please, Sign In to add comment