-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathquiz.css
More file actions
57 lines (47 loc) · 923 Bytes
/
Copy pathquiz.css
File metadata and controls
57 lines (47 loc) · 923 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.MMM-Quiz .error-container {
color: red;
}
.MMM-Quiz .question {
margin-bottom: 10px;
}
.MMM-Quiz .answers {
display: flex;
gap: 20px;
flex-wrap: wrap;
}
.MMM-Quiz .answer {
border: 2px solid white;
display: inline-flex;
padding: 5px 15px;
border-radius: 5px;
gap: 10px;
transition: border-color 5s linear;
}
.MMM-Quiz .answer.correct {
animation: 3s infinite alternate backgroundgreen;
border-color: green;
}
.MMM-Quiz .answer.incorrect {
border-color: red;
animation: 3s infinite alternate backgroundred;
}
.MMM-Quiz .answer-id {
padding-right: 10px;
border-right: 2px solid;
}
@keyframes backgroundgreen {
from {
background-color: green;
}
to {
background-color: transparent;
}
}
@keyframes backgroundred {
from {
background-color: red;
}
to {
background-color: transparent;
}
}