Last active
November 5, 2015 09:57
-
-
Save danishsatkut/aa5fe905843ada1fa689 to your computer and use it in GitHub Desktop.
Album design for Supersonic
This file contains hidden or 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
/** | |
* Album design for Supersonic | |
* | |
* Designed by: Danish Satkut (@Agent47DarkSoul) | |
*/ | |
body { | |
margin: 25px; | |
background-color: #DDD; | |
} | |
.album-container { | |
margin: 40px; | |
position: relative; | |
display: inline-block; | |
} | |
.image-container { | |
display: inline-block; | |
height: 219px; | |
border: 5px solid white; | |
border-radius: 5px; | |
} | |
.image-container.original { | |
position: absolute; | |
z-index: 1; | |
} | |
.image-container.rotated { | |
-webkit-transform: rotate(-0.015turn); | |
-moz-transform: rotate(-0.015turn); | |
-o-transform: rotate(-0.015turn); | |
transform: rotate(-0.015turn); | |
} | |
.image-container img { | |
width: 350px; height: 219px; | |
} |
This file contains hidden or 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
<!-- content to be placed inside <body>…</body> --> | |
<div class="album-container"> | |
<div class="image-container original"> | |
<img src="http://cdn-images.spinr.in/supersonic/staging/images/album_images/images/12/original/APP_1993.jpg?1446187344" /> | |
</div> | |
<div class="image-container rotated"> | |
<img src="http://cdn-images.spinr.in/supersonic/staging/images/album_images/images/12/original/APP_1993.jpg?1446187344" /> | |
</div> | |
</div> | |
<div class="album-container"> | |
<div class="image-container original"> | |
<img src="http://cdn-images.spinr.in/supersonic/staging/images/album_images/images/93/original/_93A0221.jpg?1446188215" /> | |
</div> | |
<div class="image-container rotated"> | |
<img src="http://cdn-images.spinr.in/supersonic/staging/images/album_images/images/93/original/_93A0221.jpg?1446188215" /> | |
</div> | |
</div> |
This file contains hidden or 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
// alert('Hello world!'); |
This file contains hidden or 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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment