Skip to content

Commit

Permalink
Created avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
JulieSagan committed Dec 16, 2024
1 parent 083f2ad commit 9c4d8d8
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 8 deletions.
11 changes: 11 additions & 0 deletions 06-lection4/01-avatar/avatar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.avatar {
width: 102px;
height: 102px;
}

.avatar__img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}
27 changes: 19 additions & 8 deletions 06-lection4/01-avatar/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
<!DOCTYPE html>
<!-- Страница с аватаром -->
<html lang="ru">
<head>
<link rel="stylesheet" href="../../assets/css/main.css">
<link rel="stylesheet" href="./avatar.css">
</head>
<body>

</body>
</html>

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Avatar</title>

<link rel="stylesheet" href="../../assets/css/main.css">
<link rel="stylesheet" href="./avatar.css">
</head>

<body>
<div class="container">
<div class="avatar">
<img class="avatar__img" src="../../assets/images/avatar.jpg" alt="userpic photo">
</div>
</div>
</body>

</html>
Binary file added assets/images/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9c4d8d8

Please sign in to comment.