-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
48 lines (43 loc) · 1.16 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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
background-image: url('2.jpeg'); /* Replace with your image path */
background-size: cover; /* Cover the entire background */
background-position: center; /* Center the image */
background-repeat: no-repeat; /* Prevent tiling */
}
.container {
text-align: center;
position: relative;
width: 80vw;
height: 80vh;
background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent background */
border-radius: 10px;
padding: 20px;
backdrop-filter: blur(10px); /* Optional: Add a blur effect for the background */
}
.question-block {
display: none;
position: relative;
}
.question-block.active {
display: block;
}
button {
margin: 10px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
background-color: rgba(0, 123, 255, 0.8); /* Semi-transparent button background */
color: white;
border-radius: 5px;
transition: transform 0.2s;
}
button:hover {
transform: scale(1.1);
}