-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·23 lines (23 loc) · 1017 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta author content="Chacha">
<meta name="viewport" content="width=device-width, initial-scale = 1.0, maximum-scale=1.0, user-scalable=no">
<title>Tilt Image Effect</title>
<link rel="stylesheet" type="text/css" href="css/normalize.css">
<link rel="stylesheet" type="text/css" href="css/tilteffect.css">
<link rel="stylesheet" type="text/css" href="css/demo.css">
</head>
<body>
<div class="container">
<div class="hero">
<div class="hero__imgwrap">
<img class="hero__img tilt-effect" data-tilt-options='{ "opacity" : 0.6, "movement": { "perspective" : 1500, "translateX" : 10, "translateY" : 10, "translateZ" : 2, "rotateX" : 3, "rotateY" : 3 } }' src="images/img.jpeg" alt="Hero image" />
</div>
<h1><span>A subtle tilt effect for your images</span> Image Tilt Effect</h1>
</div>
</div><!-- container -->
<script src="js/tiltfx.js"></script>
</body>
</html>