This repository has been archived by the owner on Feb 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·87 lines (71 loc) · 2.29 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Jels Demo</title>
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="style.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="../jels-v.01.js"></script>
<script>
$(document).ready(function(){
$(".tesitmonial").jels("350, 500");
})
</script>
<style>
.tesitmonial.jels-500 .quote {
font-size: 26px;
color: #041b4e;
}
.tesitmonial.jels-500 .media img {
width: 90px;
}
.tesitmonial.jels-500 .media h3 {
font-size: 18px;
padding-top: 5px;
}
.tesitmonial.jels-350 .quote {
font-size: 20px;
color: orange;
margin-bottom: 10px;
}
.tesitmonial.jels-350 .media img {
width: 50px;
}
.tesitmonial.jels-350 .media h3 {
font-size: 14px;
color: #999;
padding-top: 0;
}
</style>
</head>
<body>
<div id="intro">
<h1>Jels Demo</h1>
<p>Jels measures the widths of specified elements and adds classes if there's a match in the breakpoints passed into the function.</p>
<p>In this case the <code>.testimonials</code> class is targeted and responds to new css as the window size changes below the breakpoint thresholds.</p>
</div>
<div id="boxes">
<div class="tesitmonial">
<p class="quote">“This is the greatest product I've ever used. I'm not sure how I got by without it.”</p>
<div class="media">
<img src="i/who.png" />
<div class="data">
<h3>Dr. Who</h3>
<p class="credit">Solver of Mysteries</p>
</div>
</div>
</div>
<div class="tesitmonial">
<p class="quote">Hulk learn to meditate. Hulk super happy with new life. Very calm, cool, and collected.”</p>
<div class="media">
<img src="i/hulk.png" />
<div class="data">
<h3>The Hulk</h3>
<p class="credit">Smasher of Things</p>
</div>
</div>
</div>
</div>
</body>
</html>