-
Notifications
You must be signed in to change notification settings - Fork 0
/
styleImg.css
68 lines (67 loc) · 1.22 KB
/
styleImg.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
@font-face {
font-family: Exo;
src: url(./fonts/Exo2.0-Medium.otf);
}
.main1{
display: flex;
justify-content: center;
align-items: center;
}
.profile-card{
position: relative;
width: 70px;
height: 70px;
background: #fff;
padding: 5px;
border-radius: 50%;
box-shadow: 0 0 22px #3336;
transition: .6s;
margin: 15px 5px;
}
.profile-card:hover{
border-radius: 10px;
height: 70px;
width: 80px;
}
.profile-card .img1{
position: relative;
width: 100%;
height: 100%;
transition: .6s;
z-index: 2000;
}
.profile-card:hover .img1{
transform: translateY(-50px);
}
.img1 img{
width: 100%;
border-radius: 50%;
box-shadow: 0 0 22px #3336;
transition: .6s;
}
.profile-card:hover img1{
border-radius: 10px;
}
.caption{
text-align: center;
transform: translateY(-35px);
opacity: 0;
transition: .6s;
}
.profile-card:hover .caption{
opacity: 1;
}
.caption p{
font-size: 11px;
color: #0c52a1;
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;
}