Skip to content

Commit

Permalink
add some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BohdanDymydiuk committed Nov 5, 2023
1 parent cbddddc commit 2b20fb3
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,10 @@ body {
margin-right: 0;
}

.stars--1 :nth-child(-n+1) {
background-image: url(images/star-active.svg);
}

.stars--2 :nth-child(-n+2) {
background-image: url(images/star-active.svg);
}

.stars--3 :nth-child(-n+3) {
background-image: url(images/star-active.svg);
}

.stars--4 :nth-child(-n+4) {
background-image: url(images/star-active.svg);
}

.stars--1 :nth-child(-n+1),
.stars--2 :nth-child(-n+2),
.stars--3 :nth-child(-n+3),
.stars--4 :nth-child(-n+4),
.stars--5 :nth-child(n) {
background-image: url(images/star-active.svg);
}

0 comments on commit 2b20fb3

Please sign in to comment.