-
Notifications
You must be signed in to change notification settings - Fork 2
/
team2.css
112 lines (98 loc) · 2.16 KB
/
team2.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
.our-team {
padding: 30px 0 40px;
margin: 15px 0;
/* background-color: #83cfe2; */
background-image: linear-gradient(to bottom right, rgb(166, 221, 221), rgb(197, 204, 204));
text-align: center;
overflow: hidden;
position: relative;
box-shadow: 2px 3px 15px black;
max-width: 100%;
}
@media only screen and (max-width: 576px) {
.our-team {
max-width: 70%;
margin: 15px auto;
}
}
.our-team .picture {
display: inline-block;
height: 130px;
width: 130px;
margin-bottom: 50px;
position: relative;
}
.our-team .picture::before {
content: "";
width: 100%;
height: 0;
border-radius: 50%;
background-color: #00cadb;
position: absolute;
bottom: 135%;
right: 0;
left: 0;
opacity: 0.9;
transform: scale(3);
transition: all 0.3s linear 0s;
}
.our-team:hover .picture::before {
height: 100%;
}
.our-team .picture::after {
content: "";
width: 100%;
height: 100%;
border-radius: 50%;
background-color: #00cadb;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.our-team .picture img {
width: 100%;
height: auto;
border-radius: 50%;
transform: scale(1);
transition: all 0.9s ease 0s;
}
.our-team:hover .picture img {
box-shadow: 0 0 0 14px #f7f5ec;
transform: scale(0.7);
}
.our-team .title {
display: block;
font-size: 15px;
color: #4e5052;
text-transform: capitalize;
}
.our-team .social {
width: 100%;
padding: 0;
margin: 0;
background-color: #00cadb;
position: absolute;
bottom: -100px;
left: 0;
transition: all 0.5s ease 0s;
}
.our-team:hover .social {
bottom: 0;
}
.our-team .social li {
display: inline-block;
}
.our-team .social li a {
display: block;
padding: 10px;
font-size: 17px;
color: white;
transition: all 0.3s ease 0s;
text-decoration: none;
}
.our-team .social li a:hover {
color: #1369ce;
background-color: #f7f5ec;
}