-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.CSS
More file actions
39 lines (36 loc) · 818 Bytes
/
example.CSS
File metadata and controls
39 lines (36 loc) · 818 Bytes
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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: #f5f5f5;
position: relative;
overflow: hidden;
}
/* Big center button */
.center-btn {
width: 150px;
height: 150px;
border-radius: 50%;
background: black;
color: white;
font-size: 24px;
font-weight: bold;
border: none;
cursor: pointer;
position: relative;
z-index: 10;
}
/* Small buttons */
.small-btn {
width: 200px;
height: 60px;
border-radius: 10%;
border: none;
color: white;
font-weight: bold;
cursor: pointer;
position: absolute;
transform: translate(-50%, -50%);
}