Skip to content

Commit

Permalink
Added avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
JulieSagan committed Dec 21, 2024
1 parent 90b5484 commit 613f8b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@import url('../../05-lection3/01-tooltip/tooltip.css');
@import url('../../05-lection3/03-calendar/calendar.css');
@import url('../../05-lection3/02-modal/modal.css');
@import url('../../06-lection4/01-avatar/avatar.css');

:root {
--white: #ffffff;
Expand Down
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ <h1 class="header__title">Reusable component library</h1>
</a>

<a href="#" class="card">
<div class="card__preview"></div>
<div class="card__preview">
<div class="avatar">
<img class="avatar__img" src="./assets/images/avatar.jpg" alt="userpic photo">
</div>
</div>
<p class="card__title">Avatar</p>
</a>

Expand Down

0 comments on commit 613f8b3

Please sign in to comment.