Skip to content

Commit

Permalink
Reorganised code by German's recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
JulieSagan committed Nov 21, 2024
1 parent bb51ed1 commit 25f09ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
6 changes: 3 additions & 3 deletions 04-lection2/02-skeleton/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
</div>
</div>

<div class="skeleton__body">
<div class="skeleton__body-first"></div>
<div class="skeleton__body-second"></div>
<div class="skeleton__user-value">
<div class="skeleton__line skeleton__line-first"></div>
<div class="skeleton__line skeleton__line-second"></div>
</div>
</div>
</div>
Expand Down
10 changes: 2 additions & 8 deletions 04-lection2/02-skeleton/skeleton.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,13 @@
width: 50%;
}

.skeleton__body {
display: flex;
flex-direction: column;
}

.skeleton__body-first {
.skeleton__line-first {
height: 20px;
width: 100%;
background-color: var(--grey-2);
margin-bottom: 8px;
}

.skeleton__body-second {
.skeleton__line-second {
height: 20px;
width: 100%;
background-color: var(--grey-2);
Expand Down

0 comments on commit 25f09ab

Please sign in to comment.