-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteam.css
81 lines (78 loc) · 1.47 KB
/
team.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Exo;
}
@font-face {
font-family: Exo;
src: url(./fonts/Exo2.0-Medium.otf);
}
.main{
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #350846;
}
.profile-card{
position: relative;
width: 250px;
height: 250px;
background: #fff;
padding: 30px;
border-radius: 50%;
box-shadow: 0 0 22px #3336;
transition: .6s;
margin: 0 25px;
}
.profile-card:hover{
border-radius: 10px;
height: 260px;
}
.profile-card .img{
position: relative;
width: 100%;
height: 100%;
transition: .6s;
z-index: 99;
}
.profile-card:hover .img{
transform: translateY(-80px);
}
.img img{
width: 100%;
border-radius: 50%;
box-shadow: 0 0 22px #3336;
transition: .6s;
}
.profile-card:hover img{
border-radius: 10px;
}
.caption{
text-align: center;
transform: translateY(-80px);
opacity: 0;
transition: .6s;
}
.profile-card:hover .caption{
opacity: 1;
}
.caption h3{
font-size: 21px;
}
.caption p{
font-size: 16px;
color: #0b003d;
margin: 2px 0 9px 0;
}
.caption .social-links a{
color: #333;
margin-right: 8px;
font-size: 21px;
transition: .6s;
}
.social-links a:hover{
color: #0c52a1;
}