-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle2.css
89 lines (84 loc) · 1.56 KB
/
style2.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
*{
padding: 0px;
margin: 0px;
box-sizing: border-box;
}
html{
font-size: 10px;
}
.heading{
display: flex;
width: 100%;
justify-content: center;
font-size: 2rem;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.main{
position: absolute;
width:100%;
height: auto;
display: flex;
flex-wrap:wrap ;
justify-content: center;
align-items: center;
margin-top: 100px;
}
.cointainer{
box-sizing: content-box;
display: flex;
justify-content:space-around;
align-items: center;
height: 40rem;
width:30rem ;
padding: 1rem 5rem;
margin: .5rem 4rem;
/* border:2px solid black; */
}
.profile-card{
position: relative;
width:28rem;
height:28rem;
padding:4rem;
border-radius:20px;
box-shadow: 0 0 22px beige;
transition: 0.6s;
background-color:rgba(0, 0, 0, 0.837);
}
.profile-card .img{
position: relative;
width: 100%;
height: 100%;
transition: 0.6s;
}
.img img{
width:100%;
height: 100%;
transition: 0.6s;
border-radius: 50%;
}
.social-links{
font-size: 3rem;
}
.profile-card:hover{
border-radius: 10px;
height: 28rem;
}
.profile-card:hover img{
border-radius: 10px;
}
.profile-card:hover .img{
transform: translateY(-60px);
}
.caption{
text-align: center;
transform: translateY(-60px);
opacity : 0;
font-size: 20px;
color: white;
}
.profile-card:hover .caption{
opacity: 1;
}
.social-links a{
color: white;
}