-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·80 lines (70 loc) · 2.82 KB
/
index.html
File metadata and controls
executable file
·80 lines (70 loc) · 2.82 KB
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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Payment Methods SVG Sample Page</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="test/css/normalize.min.css">
<link rel="stylesheet" href="test/css/main.css">
<link rel="stylesheet" href="lib/paymentMethods.cards.min.css" type="text/css">
<link rel="stylesheet" href="lib/paymentMethods.min.css" type="text/css">
<link rel="stylesheet" href="lib/paymentApproaches.all.cards.min.css" type="text/css">
<style>
body{
margin: 1em;
}
.paymentMethod.paymentMethod-card:not(.disabled){
-webkit-filter: drop-shadow(5px 5px 5px #222);
filter: drop-shadow(5px 5px 5px #222);
}
</style>
<script src="test/js/vendor/modernizr-2.8.3.min.js"></script>
</head>
<body>
<h1>Payment Methods SVG by <a href="https://github.com/FreshVine/">Fresh Vine</a></h1>
<div>
<a href="https://github.com/FreshVine/Payment-Methods-SVG">Return to the Github Project page</a>
</div>
<div style="margin-top: 1em; font-size: 1.2em">
Check out all of the possible icons below. These are all embedded in their a css library. <br />
Click on an icon to see a sample disabled state. The drop shadow on the card version is included on this page, but can easiler be excluded or altered for your needs.
</div>
<h2>Icons Marks</h2>
<div style="font-size: 80px;">
<i class="paymentMethod amex"></i>
<i class="paymentMethod dinersClub"></i>
<i class="paymentMethod discover"></i>
<i class="paymentMethod jcb"></i>
<i class="paymentMethod mastercard"></i>
<i class="paymentMethod visa"></i>
</div>
<h2>Icons Cards</h2>
<div style="font-size: 80px;">
<i class="paymentMethod amex paymentMethod-card"></i>
<i class="paymentMethod dinersClub paymentMethod-card"></i>
<i class="paymentMethod discover paymentMethod-card"></i>
<i class="paymentMethod jcb paymentMethod-card"></i>
<i class="paymentMethod mastercard paymentMethod-card"></i>
<i class="paymentMethod visa paymentMethod-card"></i>
</div>
<h2>Approach Cards</h2>
<div style="font-size: 80px;">
<i class="paymentMethod applePay paymentMethod-card"></i>
<i class="paymentMethod payWithGoogle paymentMethod-card"></i>
</div>
<script src="test/js/main.js"></script>
<script>
var anchors = document.getElementsByTagName('i');
for(var z = 0; z < anchors.length; z++) {
var elem = anchors[z];
if( !elem.classList.contains('paymentMethod') ){ continue; }
elem.onclick = function() {
this.classList.toggle('disabled');
return false;
};
}
</script>
</body>
</html>