Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Four Frames Webpage</title>
- <style>
- body, html {
- margin: 0;
- height: 100%;
- display: flex;
- flex-direction: column;
- }
- .row {
- display: flex;
- flex: 1;
- }
- .frame {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- color: white;
- font-size: 24px;
- }
- .frame1 { background-color: #09ff00; }
- .frame2 { background-color: #ff0000; }
- .frame3 { background-color: #00eeff; }
- .frame4 { background-color: #ff00ff; }
- </style>
- </head>
- <body>
- <div class="row">
- <div class="frame frame1">Frame 1</div>
- <div class="frame frame2">Frame 2</div>
- </div>
- <div class="row">
- <div class="frame frame3">Frame 3</div>
- <div class="frame frame4">Frame 4</div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment