-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdesign37.html
More file actions
50 lines (50 loc) · 1.26 KB
/
design37.html
File metadata and controls
50 lines (50 loc) · 1.26 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
*{
margin:0;
padding:0;
box-sizing: border-box;
}
body{
display:flex;
justify-content: center;
text-align:center;
min-height:100vh;
background:#000;
}
.container{
width:1100px;
height:400px;
display:flex;
justify-content: space-between;
}
.container img{
max-width:350px;
transform-origin: center;
transform:perspective(800px) rotateY(20deg);
transition:0.5s;
-webkit-box-reflect: below 1px linear-gradient(transparent,transparent,#0004);
}
.container:hover img{
opacity:0.1;
}
.container img:hover{
transform:perspective(800px) rotateY(0deg);
opacity:1;
}
</style>
</head>
<body>
<div class="container">
<img src="cast1.jpg" style="width:300px;">
<img src="cast2.jpg" style="width:300px;">
<img src="cast3.jpg" style="width:300px;">
</div>
</body>
</html>