Last active
September 11, 2015 02:38
-
-
Save JeffreyBPetersen/4d15aac15c5c6f5bd4f1 to your computer and use it in GitHub Desktop.
Threw this together to generate a phone background for a friend.
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
<!doctype html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1, user-scalable=0"> | |
<style> | |
body { | |
margin: 0; | |
padding: 0; | |
} | |
img { | |
position: absolute; | |
max-width: 100%; | |
max-height: 100%; | |
height: auto; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
} | |
</style> | |
</head> | |
<body style="background:black;"> | |
<img src="https://s-media-cache-ak0.pinimg.com/736x/71/97/e6/7197e6bfd18794b095f151feab546f2f.jpg"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment