123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- <style>
- .container {
- display: flex;
- flex-direction: column;
- }
- .row {
- display: flex;
- }
- .row:nth-child(1) {
- justify-content: flex-start;
- }
- .row:nth-child(2) {
- justify-content: center;
- }
- .row:nth-child(3) {
- justify-content: flex-end;
- }
- .box {
- width: 50px;
- height: 50px;
- background-color: #ccc;
- margin: 5px;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <div class="row">
- <div class="box"></div>
- </div>
- <div class="row">
- <div class="box"></div>
- </div>
- <div class="row">
- <div class="box"></div>
- </div>
- </div>
- </body>
- </html>
|