12345678910111213141516171819202122232425 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Title</title>
- <style type="text/css">
- *{
- margin: 0;
- padding: 0;
- }
- html,body{
- width: 100%;
- height: 100%;
- }
- .c1{
- width: 80%;
- height: 80%;
- }
- </style>
- </head>
- <body>
- <div class="c1"></div>
- <button>点击全屏预览</button>
- </body>
- </html>
|