-
Notifications
You must be signed in to change notification settings - Fork 0
/
web dev assingment-1.css
132 lines (114 loc) · 2.04 KB
/
web dev assingment-1.css
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arvo', serif;
}
header {
background-color: #333;
color: #fff;
padding: 10px 0;
text-align: center;
position: sticky;
top: 0;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 89.8vh;
gap: 20px;
background-color: rgb(235, 245, 255);
}
.quiz-main-heading {
font-size: 4rem;
color: rgb(86, 165, 235);
}
#progress-bar-container {
width: 200px;
background-color: #f3f3f3;
}
#progress-bar {
width: 0%;
height: 20px;
background-color: #26a8e4;
}
.quiz-hidden {
display: none;
}
.quiz-question-container {
margin-top: 20px;
}
#question {
font-size: x-large;
padding: 5px;
width: 100%;
align-items: center;
justify-content: center;
display: flex;
}
.quiz-btn-container {
display: flex;
flex-direction: column;
width: fit-content;
justify-content: center;
align-items: center;
margin-left: auto;
margin-right: auto;
gap: 15px;
margin-top: 10px;
list-style-type: none;
}
.quiz-btn {
display: flex;
align-items: center;
justify-content: space-between;
background-color: #fff;
color: #333;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: larger;
width: 350px;
transition: background-color 0.3s ease;
}
.quiz-btn:hover {
background-color: #ddd;
}
.option-number {
background-color: #333;
color: #fff;
padding: 15px;
}
.option-text {
flex-grow: 1;
text-align: center;
padding: 15px;
}
.result {
color: blue;
}
.quiz-start-btn {
background-color: #333;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: large;
}
.quiz-start-btn:hover {
background-color: #555;
}
footer {
background-color: #333;
color: #fff;
padding: 10px 0;
text-align: center;
position: sticky;
bottom: 0;
font-size: large;
}