-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuttons.html
More file actions
54 lines (53 loc) · 1.36 KB
/
buttons.html
File metadata and controls
54 lines (53 loc) · 1.36 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
<!DOCTYPE html>
<html>
<head>
<title>Button Design</title>
<style type="text/css">
*
{
font-family: Helvetica, Arial, sans-serif;
font-weight: bold;
}
.btn
{
background: #72e5ac;
background: -moz-linear-gradient(top, #72e5ac 0%, #07c667 100%);
background: -webkit-linear-gradient(top, #72e5ac 0%,#07c667 100%);
background: linear-gradient(to bottom, #72e5ac 0%,#07c667 100%);
display: inline-block;
color: white;
font-weight: bold;
letter-spacing: 1px;
text-shadow: 0px 0px 3px rgba(0,0,0,0.25);
box-shadow: inset 0px -1px 3px rgba(0,0,0,0.15);
border: 1px solid #5C9679;
text-decoration: none;
}
.btn:active
{
background: #72e5ac;
background: -moz-linear-gradient(top, #07c667 0%, #72e5ac 100%);
background: -webkit-linear-gradient(top, #07c667 0%,#72e5ac 100%);
background: linear-gradient(to bottom, #07c667 0%,#72e5ac 100%);
text-shadow: 0px 0px 3px rgba(0,0,0,0.25);
box-shadow: inset 0px -1px 10px rgba(0,0,0,0.25);
}
.btn-medium
{
padding:10px 18px;
border-radius: 6px;
font-size:24px;
}
.btn-small
{
padding:8px 14px;
border-radius: 4px;
font-size:16px;
}
</style>
</head>
<body>
<a href="index.html" class="btn btn-medium">Button</a>
<a class="btn btn-small">Button</a>
</body>
</html>