123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- <style>
- #box {
- width: 1400px;
- height: 1300px;
- display: flex;
- flex-direction: column;
- }
- .con {
- width: 1400px;
- height: 100px;
- }
- .top {
- width: 1400px;
- height: 100px;
- position: fixed;
- top: 0;
- background: #f00;
- }
- .mid {
- width: 100%;
- flex: 1;
- background: #ff0;
- /* margin-top: 100px; */
- }
- .bottom {
- width: 100%;
- height: 140px;
- background: #0f0;
- }
- </style>
- </head>
- <body>
- <div id="box">
- <div class="con">
- <div class="top">
- </div>
- </div>
- <div class="mid">
- </div>
- <div class="bottom"></div>
- </div>
- </body>
- </html>
|