rating is implemented, updates the stars and prohibits voting more than once
This commit is contained in:
@@ -79,6 +79,17 @@ h1 {
|
||||
grid-column: 1 / 3;
|
||||
}
|
||||
|
||||
#rating-input {
|
||||
mask-image: url("stars.svg");
|
||||
-webkit-mask-image: url("stars.svg");
|
||||
mask-size: contain;
|
||||
mask-mode: alpha;
|
||||
width: 5lh;
|
||||
height: 1lh;
|
||||
margin-inline: .5ch;
|
||||
background: linear-gradient(to right, yellow 33%, black 33%);
|
||||
}
|
||||
|
||||
#rating {
|
||||
color: color-mix(in oklab, var(--text-color) 80%, black);
|
||||
color: transparent;
|
||||
|
||||
Reference in New Issue
Block a user