-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (97 loc) · 4.26 KB
/
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
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
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="j-components.min.css">
<title>Helper Component Sample</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-12 p1">
<div class="box image-box auto-height cover no-hover">
<img src="https://picsum.photos/400/400/?random" class="background-image">
<div class="content">
<h2 class="text-center">Lorem ipsum dolor sit amet</h2>
<p class="text-center">consectetur adipiscing elit. Vivamus sollicitudin erat</p>
</div>
</div>
</div>
<div class="col-sm-5 p1">
<div class="box image-box auto-height cover no-hover" data-on-hover="test_in" data-off-hover="test_out">
<img src="https://picsum.photos/400/400/?random" class="background-image">
<div class="content" style="display:none;">
<h2 class="text-center">Lorem ipsum dolor sit amet</h2>
<p class="text-center">consectetur adipiscing elit. Vivamus sollicitudin erat</p>
</div>
</div>
</div>
<div class="col-sm-7 p1">
<div class="box image-box auto-height cover" data-on-hover="test_in" data-off-hover="test_out">
<img src="https://picsum.photos/400/400/?random" class="background-image">
<div class="content" style="display:none;">
<h2 class="text-center">Lorem ipsum dolor sit amet</h2>
<p class="text-center">consectetur adipiscing elit. Vivamus sollicitudin erat</p>
</div>
</div>
</div>
<div class="col-sm-8 p1">
<div class="box image-box auto-height cover no-hover" data-on-hover="test_in" data-off-hover="test_out">
<img src="https://picsum.photos/400/400/?random" class="background-image">
<div class="content" style="display:none;">
<h2 class="text-center">Lorem ipsum dolor sit amet</h2>
<p class="text-center">consectetur adipiscing elit. Vivamus sollicitudin erat</p>
</div>
</div>
</div>
<div class="col-sm-4 p1">
<div class="box image-box auto-height cover no-hover" data-on-hover="test_in" data-off-hover="test_out">
<img src="https://picsum.photos/400/400/?random" class="background-image">
<div class="content" style="display:none;">
<h2 class="text-center">Lorem ipsum dolor sit amet</h2>
<p class="text-center">consectetur adipiscing elit. Vivamus sollicitudin erat</p>
</div>
</div>
</div>
<div class="col-sm-3 p1">
<div class="box image-box auto-height cover" data-on-hover="test_in" data-off-hover="test_out">
<img src="https://picsum.photos/400/400/?random" class="background-image">
<div class="content" style="display:none;">
<h2 class="text-center">Lorem ipsum dolor sit amet</h2>
<p class="text-center">consectetur adipiscing elit. Vivamus sollicitudin erat</p>
</div>
</div>
</div>
<div class="col-sm-4 p1">
<div class="box image-box auto-height cover no-hover" data-on-hover="test_in" data-off-hover="test_out">
<img src="https://picsum.photos/400/400/?random" class="background-image">
<div class="content" style="display:none;">
<h2 class="text-center">Lorem ipsum dolor sit amet</h2>
<p class="text-center">consectetur adipiscing elit. Vivamus sollicitudin erat</p>
</div>
</div>
</div>
<div class="col-sm-5 p1">
<div class="box image-box auto-height cover no-hover" data-on-hover="test_in" data-off-hover="test_out">
<img src="https://picsum.photos/400/400/?random" class="background-image">
<div class="content" style="display:none;">
<h2 class="text-center">Lorem ipsum dolor sit amet</h2>
<p class="text-center">consectetur adipiscing elit. Vivamus sollicitudin erat</p>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="helpers.min.js"></script>
<script>
function test_in(e){
e.find('.content').fadeIn(200);
}
function test_out(e){
e.find('.content').fadeOut(200);
}
</script>
</body>
</html>