This repository was archived by the owner on Jul 31, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
80 lines (69 loc) · 1.18 KB
/
style.css
File metadata and controls
80 lines (69 loc) · 1.18 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #222;
color: white;
font-family: Arial, sans-serif;
margin: 0;
}
.quiz-container {
text-align: center;
background: #333;
padding: 20px;
border-radius: 12px;
box-shadow: 6px 12px rgba(0, 0, 0, 0.5);
width: 80%;
max-width: 500px;
}
h1 {
color: #ffcd1c;
}
.progress-bar-container {
width: 100%;
height: 10px;
background: #444;
border-radius: 5px;
overflow: hidden;
margin-bottom: 20px;
}
.progress-bar {
height: 100%;
width: 0%;
background: #ffcd1c;
transition: width 0.5s ease-in-out;
}
button {
padding: 10px 20px;
font-size: 16px;
margin: 10px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
#btn-1 {
background-color: #4caf50;
color: white;
}
#btn-2 {
background-color: #ad0606;
color: white;
}
button:hover {
transform: scale(1.1);
}
p {
visibility: hidden;
font-size: 18px;
margin-top: 20px;
}
.correct {
color: green;
visibility: visible;
}
.wrong {
color: red;
visibility: visible;
}