-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathabout.css
64 lines (61 loc) · 1.22 KB
/
about.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
* {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif
}
#about{
margin-left: 150px;
}
.container .card
{
max-width: 300px;
height: 215px;
margin: 30px 10px;
padding: 20px 15px;
box-shadow: 0 5px 20px rgba(0,0,0,0.5);
transition: 0.3s ease-in-out;
}
.container .card:hover
{
height: 450px;
}
.container .card .imgContainer
{
position: relative;
width:250px;
height:250px;
top:-50px;
left:10px;
z-index: 1;
box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.container .card .imgContainer img
{
max-width: 100%;
border-radius: 4px;
}
.container .card .content
{
position: relative;
margin-top: -140px;
padding: 10px 15px;
text-align: center;
color:#111;
visibility: hidden;
opacity: 0;
pointer-events: none;
transition: 0.3s ease-in-out;
}
.container .card:hover .content
{
visibility: visible;
opacity: 1;
margin-top: -40px;
transition-delay: 0.3s;
}
@media (max-width: 330px){
.container .card .imgContainer{
left: -2px;
}
}