Skip to content

Instantly share code, notes, and snippets.

@CosmicWebServices
Created September 15, 2015 18:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CosmicWebServices/3bd56478b9fcc9421e9b to your computer and use it in GitHub Desktop.
Save CosmicWebServices/3bd56478b9fcc9421e9b to your computer and use it in GitHub Desktop.
Sharablesite - Demo
<style>
@media{
img{
width: 300px; //Can be % change to wanted size
height: 300px; //Can be % change to wanted size
height:auto; // Fixes Bug
//Bellow makes the images not pixal like.
transform-origin: 20% 80%;
transition: transform 30s linear;
transform: rotate(0.1deg);
-ms-interpolation-mode: nearest-neighbor;
image-rendering: -webkit-optimize-contrast;
image-rendering: -webkit-crisp-edges;
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
}
}
</style>
<img src="http://cosmicsearch.org/shareablesite/icons/PNG/sharablesite//Github.png" alt="Github"></img>
<img src="http://cosmicsearch.org/shareablesite/icons/PNG/sharablesite//Github.png" alt="Github"></img>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment