-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofilecard.css
89 lines (80 loc) · 1.54 KB
/
profilecard.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
*{
margin:0;
padding:0;
box-sizing:border-box;
}
body{
height: 100vh;
display:grid;
place-items:center;
background-color:#010101;
font-family:"Poppins", sans-serif;
}
.profile-card{
width:550px;
height:550px;
border-radius:50%;
background-color:#e6eded;
padding:25px;
transition:all 0.3s;
}
.profile-card img{
width:100%;
height:100%;
object-fit:cover;
border-radius:50%;
position:relative;
z-index:10;
transition: all 0.3s;
}
.profile-details{
text-align:center;
text-transform:capitalize;
transform:translateY(-80%);
opacity:0;
transition:all 0.3s;
}
.profile-details.social-media-list{
margin:25px;
display:flex;
justify-content:center;
}
.profile-details .social-media-list a{
color: black;
font-size:25px;
transition: all 0.3s ease;
}
.profile-details .social-media-list a:hover{
color:rgb(10, 3, 50);
font-size:40px;
}
.profile-details h3{
font-size:30px;
position: relative;
margin-top:30px ;
}
.profile-details p{
font-size:18px;
margin:5px 0 10px;
}
.profile-details a{
color:#555;
font-size:20px;
}
.profile-details a:not(:last-child){
margin-right:10px;
}
.profile-card:hover{
height:370px;
border-radius:15px;
}
.profile-card:hover img{
width:250px;
height:250px;
margin-left: 125px ;
border-radius:15px;
transform:translateY(-50%);
}
.profile-card:hover .profile-details{
opacity:1;
}