Skip to content

Commit ef4902c

Browse files
Create styles.css
1 parent 935b923 commit ef4902c

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

styles.css

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
body {
2+
display: flex;
3+
justify-content: center;
4+
align-items: center;
5+
min-height: 100vh;
6+
font-family: Arial, sans-serif;
7+
}
8+
9+
button {
10+
padding: 10px 20px;
11+
margin: 10px;
12+
cursor: pointer;
13+
border-radius: 10px;
14+
border: none;
15+
background: black;
16+
color: white;
17+
}
18+
19+
button:hover {
20+
background: white;
21+
color: black;
22+
}
23+
24+
.popup {
25+
display: none;
26+
position: fixed;
27+
z-index: 2;
28+
left: 0;
29+
top: 0;
30+
width: 100%;
31+
height: 100%;
32+
justify-content: center;
33+
align-items: center;
34+
overflow: auto;
35+
background-color: rgba(0,0,0,0.4);
36+
backdrop-filter: blur(5px);
37+
}
38+
39+
.popup-content {
40+
background-color: #fff;
41+
padding: 20px;
42+
border: 1px solid #888;
43+
width: 10em;
44+
height: 15em;
45+
border-radius: 1em;
46+
max-width: 600px;
47+
position: relative;
48+
}
49+
50+
.close {
51+
color: #aaa;
52+
float: right;
53+
font-size: 28px;
54+
font-weight: bold;
55+
cursor: pointer;
56+
}
57+
58+
.close:hover,
59+
.close:focus {
60+
color: black;
61+
text-decoration: none;
62+
cursor: pointer;
63+
}

0 commit comments

Comments
 (0)