-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
129 lines (118 loc) · 2.41 KB
/
styles.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
body {
transform: translatex(-4%);
font-family: 'Poppins', sans-serif;
overflow-x: hidden;
background-image: linear-gradient(rgba(0,0,0,0.68),rgba(0,0,0,0.68)),url("../e-book/media/bgq.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
width: 100%;
height: auto;
background-size: cover;
background-position: center;
position: relative;
padding: 0 5%;
display: flex;
justify-content: center;
animation: fadeIn 1s ease-in-out forwards;
opacity: 0;
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
.container {
width: 450px;
padding: 20px;
margin-top: 80px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 20px;
transform:translateY(10%);
}
h1 {
text-align: center;
}
.question {
font-weight: bold;
margin-bottom: 10px;
}
.options {
margin-bottom: 20px;
}
.option {
display: block;
margin-bottom: 10px;
}
.button {
display: inline-block;
padding: 10px 20px;
background-color: aqua;
color: black;
border: none;
cursor: pointer;
font-size: 16px;
border-radius: 4px;
transition: background-color 0.3s;
margin-right: 10px;
}
.button:hover {
background-color: #12c5b3;
}
.result {
background-color: white;
text-align: center;
margin-top: 20px;
font-weight: bold;
}
.hide{
display: none;
}
.buttoni{
transform:translateY(20%);
width: 200px;
padding: 11px 0;
text-align: center;
margin: 1px 220px;
border-radius: 25px;
background-color: aqua;
font-weight: bold;
border: 2px solid #009688;
background: transparent;
color: #fff;
cursor:hand;
text-decoration: none;
position: absolute;
}
.buttoni:hover span {
padding-left: 20px;
}
.buttoni:hover span:after {
opacity: 1;
left: 0;
}
.buttoni span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.buttoni span:after {
content: '\00ab';
position: absolute;
opacity: 0;
top: 0;
left: -30px;
transition: 0.5s;
}
#showAnswer{
padding: 10px 20px;
margin-top: 80px;
color: black;
border: none;
cursor: pointer;
font-size: 16px;
border-radius: 4px;
transform:translateY(10%);
}