Created
March 11, 2017 15:45
-
-
Save hogashi/78ff37af716991b112bc343b9312a3c4 to your computer and use it in GitHub Desktop.
落書き
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
<html> | |
<head> | |
<style> | |
body { | |
height: 100vh; | |
margin: 0; | |
/* background: #000; */ | |
} | |
body div { | |
display: flex; | |
justify-content: center; | |
height: 100vh; | |
align-items: center; | |
} | |
body div img { | |
transform: rotate(-90deg); | |
/* width: 100vh; */ /* fit by width */ | |
height: 98.5vw; /* fit by height (1.5vw margin is for scroll-bar) */ | |
/* position: fixed; */ /* for erase scroll-bar */ | |
} | |
</style> | |
</head> | |
<body> | |
<div> | |
<img src=""> <!-- put image url --> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment