Created
September 8, 2015 14:01
-
-
Save derhasi/176313fa1f1aa84189a8 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<div class="gallery"> | |
<img src="http://i3.bstatic.de/sites/default/files/styles/gallery_large/public/gettyimages-478925238.jpg?itok=IqPfTVbU"> | |
<!--<img src="http://i3.bstatic.de/sites/default/files/styles/gallery_large/public/ddpimages_05879631.jpg?itok=zai-mIxT">--> | |
</div> |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.gallery { | |
position: absolute; | |
background: red; | |
width: 100%; | |
height: 100%; | |
} | |
img { | |
zoom: 4; | |
display: block; | |
margin: auto; | |
height: auto; | |
max-height: 100%; | |
width: auto; | |
max-width: 100%; | |
} |
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
.gallery { | |
position: absolute; | |
background: red; | |
width: 100%; | |
height: 100%; | |
} | |
img { | |
zoom: 4; | |
display: block; | |
margin: auto; | |
height: auto; | |
max-height: 100%; | |
width: auto; | |
max-width: 100%; | |
} |
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
<div class="gallery"> | |
<img src="http://i3.bstatic.de/sites/default/files/styles/gallery_large/public/gettyimages-478925238.jpg?itok=IqPfTVbU"> | |
<!--<img src="http://i3.bstatic.de/sites/default/files/styles/gallery_large/public/ddpimages_05879631.jpg?itok=zai-mIxT">--> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment