| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <html>
- <head>
- <style>
- html, body {
- margin: 0;
- color: white;
- font-size: 24px;
- background: purple;
- }
- .body {
- height: 100%;
- width: 100%;
- display: table;
- background: gray;
- }
- .header {
- height: 200px;
- width: 100%;
- background: #0E83CD;
- transition: all 250ms;
- overflow: hidden;
- }
- .header:active {
- height: 10px;
- }
- .content {
- width: 100%;
- height: 400px;
- background: #0972B4;
- }
- .footer {
- height: 200px;
- width: 100%;
- background: black;
- }
- </style>
- </head>
- <body>
- <div class="body">
- <div class="header">
- <h1>Header</h1>
- </div>
- <div class="content">
- Some text somewhere
- </div>
- <div class="content">
- More text
- </div>
- <div class="content">
- Even more
- </div>
- </div>
- <div class="footer">Footer</div>
- </body>
- </html>
|