前端---固定在底部

 1 <!DOCTYPE html>
 2 <html lang="en">
 3 <head>
 4     <meta charset="UTF-8">
 5     <title>Title</title>
 6     <style>
 7     .footer{
 8     height: 100px;
 9 width: 100%;
10 background-color: #ddd;
11 position: fixed;
12 bottom: 0;
13     }
14     
15     </style>
16 </head>
17 <body>
18 <div class="footer"> 版本号:</div>
19 </body>
20 </html>

 

posted @ 2019-05-03 09:28  xsan  阅读(703)  评论(1编辑  收藏  举报