Skip to content

Instantly share code, notes, and snippets.

@matsuhisa
Created December 11, 2016 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matsuhisa/ea7d380d874b8e46a940365cb3e02ae4 to your computer and use it in GitHub Desktop.
Save matsuhisa/ea7d380d874b8e46a940365cb3e02ae4 to your computer and use it in GitHub Desktop.
iPhone の メール
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>iPhoneメール</title>
<style>
body {
width: 100% !important;
min-width: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
margin: 0;
padding: 0;
}
div {
width: 100% !important;
min-width: 100% !important;
display: block !important;
}
.button {
display: block;
width: 100% !important;
padding: .4em;
background-color: #e7e7e7;
border: 1px solid red;
border-radius: 4px;
text-decoration: none;
}
</style>
</head>
<body>
<a href="#" class="button">申し込む</a>
<div href="#" class="button">申し込む</div>
<div href="#" width="100%" class="button">
<div href="#" width="100%">申し込む2</div>
</div>
<hr>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment