-
Notifications
You must be signed in to change notification settings - Fork 0
/
spinster.html
78 lines (78 loc) · 4.11 KB
/
spinster.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/png" href="images/favico.png"/>
<meta name="description" content="Spinster. A spin-transformation effect generator.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Spinster</title>
<link rel="stylesheet" href="stylesheets/screen.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link href='https://fonts.googleapis.com/css?family=Roboto+Condensed' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Slabo+27px&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<script src="javascript/vendor/jquery-2.0.3.min.js"></script>
<script src="javascript/spinster.min.js"></script>
</head>
<body>
<div class="mainContainer">
<header>
<h2 class="topH2">
<i class="fa fa-angle-double-left"></i>
--------------------------- The infamous ---------------------------
<i class="fa fa-angle-double-right"></i>
</h2>
<h1>Spinster</h1>
<h2 class="mainH2">a spin-transform effect generator.</h2>
</header>
<div class="row firstRow">
<div class="numberColumn">
<div class="numberBackground verticalAlign numberOne"></div>
</div>
<div class="contentColumn">
Go to <a href="http://fortawesome.github.io/Font-Awesome/icons/">Font awesome</a> and choose start and final icons (copy icon class including prefix). Also, enter an ID for your new icon.
<table class="iconsForm">
<tr>
<td><label for="txtStartIcon">Start icon</label></td>
<td><input type="text" id="txtStartIcon" autocomplete="off"></td>
<td>(e.g. <span class="exampleSpan">fas fa-bars</span>)</td>
</tr>
<tr>
<td><label for="txtFinalIcon">Final icon</label></td>
<td><input type="text" id="txtFinalIcon" autocomplete="off"></td>
<td>(e.g. <span class="exampleSpan">fas fa-times</span>)</td>
</tr>
<tr>
<td><label for="txtIconID">ID</label></td>
<td><input type="text" id="txtIconID" autocomplete="off"></td>
<td><button id="btnGenerate">Generate</button></td>
</tr>
</table>
</div>
</div>
<div class="row secondRow">
<div class="numberColumn">
<div class="numberBackground verticalAlign numberTwo"></div>
</div>
<div class="contentColumn">
<h1 class="verticalAlign">Result:</h1>
<span class="resultSpan spinnable fa-3x fa-spin" id="resultSpan"></span>
</div>
</div>
<div class="row thirdRow">
<div class="numberColumn">
<div class="numberBackground numberThree"></div>
</div>
<div class="contentColumn">
<span class="codeLabel">HTML:</span>
<div id="HTMLCode" class="codeContainer"></div>
<span class="codeLabel">CSS classes:</span>
<div id="CSSCode" class="codeContainer"></div>
<span class="codeLabel">jQuery code:</span>
<div id="jQueryCode" class="codeContainer"></div>
<span class="codeLabel">Vanilla JS:</span>
<div id="jsCode" class="codeContainer"></div>
</div>
</div>
</div>
</body>
</html>