-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
67 lines (56 loc) · 791 Bytes
/
style.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
*{
margin:0%;
padding:0%;
box-sizing: border-box;
}
html, body{
height:100%;
width:100%;
}
#main{
height:100%;
width:100%;
display:flex;
align-items: center;
justify-content: center;
}
.card{
position: absolute;
/* top:50%;
left:50%;
transform: translate(-50% , -50%); */
height: 300px;
width:230px;
border: 1px solid chocolate;
border-radius: 20px;
overflow: hidden;
}
#card1{
z-index: 4;
}
img{
width:100%;
width:100%;
object-fit: cover;
}
#card2{
z-index: 3;
rotate:-8deg;
}
#card3{
z-index: 2;
rotate: -16deg;
}
#card4{
z-index: 1;
rotate: -24deg;
}
#card2:hover{
z-index: 4;
}
#card3:hover{
z-index: 4;
}
#card4:hover{
z-index: 4;
}