micro-app
Version:
(<5kb) [📱iOS] Create Progressive Web App Dynamically.
37 lines (36 loc) • 1.04 kB
HTML
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="format-detection" content="telephone=no,address=no,email=no">
<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
<title> micro-app </title>
<script src="js/micro-app.js"></script>
<style>
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
div {
position: absolute;
height: 100px;
width: 100%;
line-height: 100px;
font-size: 40px;
text-align: center;
top: 50%;
left: 0;
transform: translateY(-50%);
}
</style>
</head>
<body>
<div>hello world!</div>
</body>
</html>