-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathds10Buttons.html
executable file
·94 lines (89 loc) · 3.53 KB
/
ds10Buttons.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
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
<title>DS10 DrumButtons</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style>
*{margin:0;padding:0}
h1 {color:#fefefe;text-shadow:3px 3px 5px #000;font-family:sans-serif;margin:0 2rem -1em 2rem;font-style:italic}
ul {display:block;width:500px;margin:2em;padding:0.5em;box-shadow:inset 0 0 10px #000000;}
li {display:inline-block;}
body {background:#0f0f0f}
a {
font-weight:900;
border-radius:2px;
margin:0.5em;
padding:2px;
display:inline-block;
color:#fefefe;
text-decoration:none;
outline: 1px solid #444;
border:1px solid #000;
background-image: linear-gradient(-61deg, #DDDDDD 0%, #787878 49%, #111111 50%, #000000 100%);
background-image: -o-linear-gradient(-61deg, #DDDDDD 0%, #787878 49%, #111111 50%, #000000 100%);
background-image: -moz-linear-gradient(-61deg, #DDDDDD 0%, #787878 49%, #111111 50%, #000000 100%);
background-image: -webkit-linear-gradient(-61deg, #DDDDDD 0%, #787878 49%, #111111 50%, #000000 100%);
background-image: -ms-linear-gradient(-61deg, #DDDDDD 0%, #787878 49%, #111111 50%, #000000 100%);
background-image: -webkit-linear-gradient(-61deg, #DDDDDD 0%, #787878 49%, #111111 50%, #000000 100%);
}
a div {
padding:11px;
border:1px solid #333;
background:#0f0f0f;
width:200px;
height:100px;
display:table-cell;
text-align:right;
vertical-align:bottom;
font-family:sans-serif;
text-shadow:0 0 10px #000, 0 0 8px #000, 0 0 5px #000, 0 0 2px #000;
}
a:hover {
padding:2px;
background-image: linear-gradient(-61deg, #555555 0%, #444444 49%, #222222 50%, #111111 100%);
background-image: -o-linear-gradient(-61deg, #555555 0%, #444444 49%, #222222 50%, #111111 100%);
background-image: -moz-linear-gradient(-61deg, #555555 0%, #444444 49%, #222222 50%, #111111 100%);
background-image: -webkit-linear-gradient(-61deg, #555555 0%, #444444 49%, #222222 50%, #111111 100%);
background-image: -ms-linear-gradient(-61deg, #555555 0%, #444444 49%, #222222 50%, #111111 100%);
background-image: -webkit-linear-gradient(-61deg, #555555 0%, #444444 49%, #222222 50%, #111111 100%);
}
a:hover div{
padding:12px;
border:none;
background-image: linear-gradient(left top, #010101 20%, #111111 0%, #010101 95%, #111111 100%);
background-image: -o-linear-gradient(left top, #010101 20%, #111111 0%, #010101 95%, #111111 100%);
background-image: -moz-linear-gradient(left top, #010101 20%, #111111 0%, #010101 95%, #111111 100%);
background-image: -webkit-linear-gradient(left top, #010101 20%, #111111 0%, #010101 95%, #111111 100%);
background-image: -ms-linear-gradient(left top, #010101 20%, #111111 0%, #010101 95%, #111111 100%);
background-image: -webkit-gradient(
linear,
left top,
right bottom,
color-stop(0.2, #010101),
color-stop(0, #111111),
color-stop(0.95, #010101),
color-stop(1, #111111)
);
}
hr {
border: 0;
height: 2px;
/* Mozilla */
background: -moz-linear-gradient(left, #FF0000, #FFFFFF);
/* Webkit */
background: -webkit-gradient(linear, left top, right top,from(#FF0000), to(#FFFFFF));
/* IE */
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=1, startColorstr=#FF0000, endColorstr=#FFFFFF);
}
</style>
</head>
<body>
<h1>Drum Pads Demo</h1>
<ul>
<li><a href="#"><div>Pad 1</div></a></li>
<li><a href="#"><div>Pad 2</div></a></li>
<li><a href="#"><div>Pad 3</div></a></li>
<li><a href="#"><div>Pad 4</div></a></li>
</ul>
</body>
</html>