| 123456789101112131415161718192021222324252627282930313233343536 |
- <!doctype html>
- <html lang="">
- <head>
- <meta charset="UTF-8" />
- <link rel="icon" href="/favicon.ico" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>博物中国</title>
- <style>
- html,
- body {
- height: 100%;
- margin: 0;
- }
- .app-frame-shell {
- box-sizing: border-box;
- /* 大写 PX:避免 postcss-px-to-viewport 把壳层宽度换算成 vw */
- max-width: 640PX;
- height: 100%;
- min-height: 100%;
- margin: 0 auto;
- }
- .app-frame-shell iframe {
- display: block;
- border: 0;
- width: 100%;
- height: 100%;
- vertical-align: top;
- }
- </style>
- </head>
- <body>
- <div class="app-frame-shell">
- <iframe src="./app.html" title="博物中国"></iframe>
- </div>
- </body>
- </html>
|