Created
June 17, 2019 03:59
-
-
Save ykyk1218/1f54ed102feebb284ed72d7b26dff264 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="robots" content="noindex,nofollow" /> | |
<meta charset="UTF-8"> | |
<title>This is Template</title> | |
<style type="text/css"> | |
#container { | |
width: 960px; | |
margin: auto; | |
border: 1px solid #ddd; | |
} | |
.in { | |
margin: 0 calc(50% - 50vw); | |
padding: 0 calc(50vw - 50%); | |
background: #8FC1F0; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="container"> | |
<p>Hello World!</p> | |
<div class="in">テスト</div> | |
</div> | |
</body> | |
</html> |
Author
ykyk1218
commented
Jun 17, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment