-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
64 lines (57 loc) · 2.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Obi Plabon">
<title>Color Switcher by Obi Plabon</title>
<link href="https://fonts.googleapis.com/css?family=Droid+Serif:400,700" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/color-default.css">
<link rel="stylesheet" href="dist/color-switcher.css">
</head>
<body>
<div class="Container">
<h1>Color Switcher Demo</h1>
<p>Hi, this is <a href="https://fb.me/obiPlabon" target="_blank">Obi Plabon</a> from Bangladesh. And one of my favorite programming language is JavaScipt. I feel like JavaScript works the way I think! JavaScript understand what I need and it shows me the simple solution. And <strong>Color Switcher</strong> is one of those solution. JavaScript is awesome, if you wanna know more about <abbr title="JavaScript">JS</abbr> then you must visit <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank" title="Mozilla Developer Network">MDN</a></p>
<a class="Button" href="#">Click & Flick</a>
<div style="height:100px"></div>
<form class="Form">
<input class="Form__control" type="text" placeholder="I don't wanna know your name!" name="">
<textarea placeholder="You don't have type anything here, Just focus!" class="Form__control"></textarea>
<input class="Button" type="button" name="" value="Don't Submit">
</form>
</div>
<script src="dist/color-switcher.js"></script>
<script>
var colorSheets = [
{
color: "#ff8400",
title: "Switch to Default",
href: "./css/color-default.css"
},
{
color: "#ff463a",
title: "Switch to Red",
href: "./css/color-red.css"
},
{
color: "#4bda28",
title: "Switch to Green",
href: "./css/color-green.css"
},
{
color: "#4650dc",
title: "Switch to Blue",
href: "./css/color-blue.css"
},
{
color: "#f41c54",
title: "Switch to Magenta",
href: "./css/color-magenta.css"
}
];
ColorSwitcher.init(colorSheets);
</script>
</body>
</html>