-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalumni.css
92 lines (77 loc) · 1.57 KB
/
alumni.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
* {
margin : 0;
padding: 0;
box-sizing : border-box;
font-family: "Poppins", sans-serif;
}
.img{
height: 360px;
width: 260px;
}
.container {
margin: 100px auto;
margin-top: 50px;
position : relative;
width: 100%;
max-width : 1100px;
display : flex;
align-items : center;
justify-content : center;
flex-wrap : warp;
padding : 30px;
}
.container .card {
position: relative;
max-width : 300px;
height : 215px;
background-color : #fff;
margin : 30px 10px;
padding : 20px 15px;
display : flex;
flex-direction : column;
box-shadow : 0 5px 20px rgba(0,0,0,0.5);
transition : 0.3s ease-in-out;
border-radius : 15px;
}
.container .card:hover {
height : 320px;
}
.container .card .image {
position : relative;
width : 260px;
height : 260px;
top : -40%;
left: 8px;
box-shadow : 0 5px 20px rgba(0,0,0,0.2);
z-index : 1;
}
p{
font-size: 18px;
}
.container .card .image img {
max-width : 100%;
border-radius : 15px;
height: 260px;
width: 260px;
}
.container .card .contenta {
position : relative;
top : -140px;
padding : 10px 15px;
color : #111;
text-align : center;
visibility : hidden;
opacity : 0;
transition : 0.3s ease-in-out;
}
.container .card:hover .contenta {
margin-top : 30px;
visibility : visible;
opacity : 1;
transition-delay: 0.2s;
}
@media (max-width:450px) {
.gap{
height: 100px;
}
}