-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
57 lines (41 loc) · 1 KB
/
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container {
background-color: black;
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
.images {
width: 1100px;
height: 50%;
/* border: solid 2px red; */
display: flex;
justify-content: space-between;
}
.img_1 {
height: 105%;
}
img {
/* border: solid 1px black; */
height: 100%;
width: 100%;
border-radius: 10px;
-webkit-box-reflect: below 10px linear-gradient(to bottom, rgba(0,0,0.1), rgba(0,0,0,0.0), rgba(0,0,0,0.0), rgba(0,0,0,0.2), rgba(0,0,0,0.2) );
box-shadow: rgba(136, 165, 191, 0.1) 6px 2px 16px 0px, rgba(255, 255, 255, 0.2) -6px -2px 16px 0px;
transform-origin: center;
transform: perspective(800px) rotateY(20deg);
transition: 0.7s;
}
.images:hover img {
opacity: 0.1;
}
#img_1:hover, #img_2:hover, #img_3:hover {
transform: perspective(800px) rotateY(0deg);
opacity: 1;
}