-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Expand file tree
/
Copy pathstyle.css
More file actions
41 lines (34 loc) · 850 Bytes
/
style.css
File metadata and controls
41 lines (34 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.stars__star{
width: 20px;
height: 20px;
background-image:url(images/star.svg);
background-size:
contain;
background-repeat: no-repeat;
background-position: center;
}
.stars{
display: flex;
margin: 0;
}
.stars_star_active{
background-image: url(images/star-active.svg);
}
.stars--0 .stars__star:nth-child(-n+0) {
background-image: url(images/star-active.svg);
}
.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--5 .stars__star:nth-child(-n+5) {
background-image: url(images/star-active.svg);
}