-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
80 lines (69 loc) · 1.22 KB
/
style.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
*{
margin:0;
padding: 0;
}
body{
width: 100%;
height: 100vh;
background-color: #ECECEC;
display: flex;
flex-direction: column;
align-items: center;
}
.header{
width: 100%;
height: 20%;
font-size: 2rem;
display: flex;
justify-content: space-around;
/*background-color: grey;*/
}
.title,.result{
margin: 120px 0 0 10px;
}
.container{
width: 70%;
/*background-color: green;*/
display: flex;
align-items: center;
flex-direction: column;
margin:20px 0;
border-radius: 10px;
box-shadow: 4px 4px 62px rgba(0, 0,0, 0.1);
}
.question{
margin:20px;
font-size: 1.5rem;
}
.options{
display: flex;
flex-wrap: wrap;
}
.option{
min-width: 50%;
display: flex;
align-items: center;
justify-content: center;
}
button{
cursor: pointer;
height: 40px;
font-size: 1rem;
margin: 10px;
padding: 0 20px;
border-radius: 50px;
border: none;
box-shadow: 4px 4px 20px rgba(0, 0,0, 0.1);
opacity: 0.6;
transition: 0.5s ease;
}
button:hover{
box-shadow: 0px 0px 20px rgba(0, 0,0, 0.1);
opacity: 1;
}
.correct{
background-color: rgb(7, 212, 7);
}
.wrong{
background-color: rgb(255, 46, 46);
}