-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpart2.css
56 lines (49 loc) · 902 Bytes
/
part2.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
/* .main-main-part2{
position: relative;
top: 170px;
height: 75vh;
overflow-y: scroll;
} */
.main-part2{
position: relative;
top: 230px;
display: flex;
width: 100%;
height: 30vh;
justify-content: center;
align-items: center;
gap: 50px;
flex-basis: content;
flex-wrap: wrap;
animation: epicAppearance 1s;
z-index: 2;
}
.displayNone{
display: none;
}
.main-part2 div{
height: 90%;
flex-basis: 450px;
background-color: rgb(255, 255, 255);
border-radius: 10px;
cursor: pointer;
transition: transform 0.1s;
user-select: none;
}
.main-part2 div:hover{
transform: scale(1.05);
}
.main-part2 div img{
object-fit: cover;
width: 100%;
height: 100%;
border-radius: 14px;
}
@keyframes epicAppearance {
from{
margin-left: 2000px;
}
to{
margin-left: 0;
}
}