-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutlis.css
More file actions
48 lines (42 loc) · 918 Bytes
/
utlis.css
File metadata and controls
48 lines (42 loc) · 918 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
40
41
42
43
44
45
46
47
48
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #333;
margin: 0;
}
.container {
background: radial-gradient(rgb(108, 101, 129), transparent);
width: 38vw;
height: 75vh;
transition: 3s ease;
border: 6px solid black;
border-radius: 20px;
}
.container:hover {
background: radial-gradient(rgb(222, 212, 212), transparent);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.text-center {
text-align: center;
font-family: Arial, Helvetica, sans-serif;
color: white;
font-size: 2rem;
}
.text-center i {
font-size: 4rem;
padding: 10px;
}
.text-center::after {
content: ' ';
width: 0;
height: 4px;
background-color: red;
display: block;
margin: auto;
transition: 3s ease;
}
.text-center:hover::after {
width: 20%;
}