-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path_divexample.html
69 lines (55 loc) · 1.72 KB
/
_divexample.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Image Framer</title>
<script type="text/javascript" src="jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="imageframer/if.css" />
<script type="text/javascript" src="imageframer/if.js" ></script>
<script type="text/javascript">
$(function() {
$('.frameThis').imageframer({
frameType: 'wood5',
frameSize: 4,
innerShadow: 3
});
});
</script>
<style type="text/css">
/* Styling for the div in question */
.frameThis {
text-align: center;
font-family: "Arial", sans-serif;
color: #fff;
padding: 20px;
background: #333333;
background: -moz-linear-gradient(top, #333333 0%, #111111 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333333), color-stop(100%,#111111));
background: -webkit-linear-gradient(top, #333333 0%,#111111 100%);
background: -o-linear-gradient(top, #333333 0%,#111111 100%);
background: -ms-linear-gradient(top, #333333 0%,#111111 100%);
background: linear-gradient(to bottom, #333333 0%,#111111 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#111111',GradientType=0 );
}
.frameThis h2 {
margin: 0px 0px 10px 0px;
font-size: 16px;
}
.frameThis p {
margin: 0px;
padding: 0px;
color: #c1c1c1;
font-size: 12px;
}
</style>
</head>
<body style=" background: #e1e1e1; ">
<div class="frameThis">
<h2>Image Framer?</h2>
<p>
Despite the name, Image Framer <br />
can frame virtually any element.
</p>
</div>
</body>
</html>