-
Notifications
You must be signed in to change notification settings - Fork 0
/
newstyle.css
70 lines (62 loc) · 1.22 KB
/
newstyle.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
.profile-wrapper {
background-image: url('https://example.com/background-image.jpg');
background-size: cover;
position: relative;
}
.profile-content {
position: relative;
z-index: 1;
padding: 50px;
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
text-align: center;
}
.profile-content h1 {
font-size: 48px;
margin-bottom: 20px;
}
.profile-details {
margin-bottom: 20px;
}
.profile-details p {
font-size: 20px;
line-height: 1.5;
}
.edit-profile-btn {
display: inline-block;
padding: 10px 20px;
border: 2px solid #fff;
color: #fff;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: bold;
transition: all 0.3s ease-in-out;
}
.edit-profile-btn:hover {
background-color: #fff;
color: #000;
}
.profile-wrapper::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0.7;
background-image: url('https://example.com/fading-background-image.png');
background-size: cover;
z-index: -1;
animation: fade-in 10s linear infinite;
}
@keyframes fade-in {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}