-
Notifications
You must be signed in to change notification settings - Fork 0
/
slice.html
90 lines (83 loc) · 3.09 KB
/
slice.html
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./slice.css">
</head>
<body>
<!-- <h1 data-text="Sliced">Sliced</h1> -->
<!--
<div class="container">
<div class="card">
<div class="front">
front of the card
</div>
<div class="back">
back face of the card
</div>
</div>
</div> -->
<!-- <div class="container">
<div class="card">
<img src="./Assets/leo.jpg" alt="">
<div class="intro">
<h1>LEO</h1>
<P>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit fuga praesentium quidem magni quos ipsam nobis facilis omnis consequatur quod?</P>
</div>
</div>
<div class="card">
<img src="./Assets/jailer.jpg" alt="">
<div class="intro">
<h1>JAILER</h1>
<P>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit fuga praesentium quidem magni quos ipsam nobis facilis omnis consequatur quod?</P>
</div>
</div>
<div class="card">
<img src="./Assets/jawan" alt="">
<div class="intro">
<h1>JAWAN</h1>
<P>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit fuga praesentium quidem magni quos ipsam nobis facilis omnis consequatur quod?</P>
</div>
</div>
</div> -->
<div class="container">
<div class="card">
<div class="content">
<h1>01</h1>
<h2>Card One</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Laudantium accusamus molestias repellendus voluptates voluptate ullam, harum commodi similique? Ullam, architecto!</p>
<a href="#">Read More</a>
</div>
</div>
<div class="card">
<div class="content">
<h1>02</h1>
<h2>Card Two</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Laudantium accusamus molestias repellendus voluptates voluptate ullam, harum commodi similique? Ullam, architecto!</p>
<a href="#">Read More</a>
</div>
</div>
<div class="card">
<div class="content">
<h1>03</h1>
<h2>Card Three</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Laudantium accusamus molestias repellendus voluptates voluptate ullam, harum commodi similique? Ullam, architecto!</p>
<a href="#">Read More</a>
</div>
</div>
</div>
<script type="text/javascript" src="vanilla-tilt.js">
</script>
<script>
VanillaTilt.init(document.querySelector(".card"), {
max: 35, // The maximum tilt angle
speed: 300, // The speed of the transition
scale: 1.1,
glare:true,
"max-glare":1 // The scale factor
});
</script>
</body>
</html>