Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .header {
- height: 95px;
- display: flex;
- }
- div {
- border: 1px solid red;
- }
- .header-link {
- margin: auto;
- }
- .beginner-project {
- width: 636px;
- height: 430px;
- background-position: center;
- background-size: cover;
- }
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" href="normalize.css">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="style.css">
- <title>Портфолио</title>
- </head>
- <body>
- <div class = "header">
- <a href="#" class="header-link">Яндекс Практикум</a>
- </div>
- <div class="beginner">
- <div class="beginner-project"></div>
- <div class="beginner-project"></div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement