Skip to content

Commit

Permalink
add comma
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariiaantoniv committed Nov 7, 2023
1 parent 9365a0f commit af8fccd
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,16 @@ body {
.stars__star {
height: 16px;
width: 16px;
background-image: url(/images/star.svg);
background-image: url(/src/images/star.svg);
background-repeat: no-repeat;
background-position: center;
margin-right: 4px;
}

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

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

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

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

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

0 comments on commit af8fccd

Please sign in to comment.