-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtml2.html
More file actions
78 lines (67 loc) · 1.73 KB
/
html2.html
File metadata and controls
78 lines (67 loc) · 1.73 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Button</title>
<style>
body {
margin: 0 auto;
max-width: 800px;
font-family: arial;
}
a {
text-decoration: none;
}
.button {
border: 1px;
padding: 20px;
text-align: center;
margin-right: 20px;
float: left;
font-weight: bold;
width: 150px
}
.flat {
border-radius: 5px;
background-color: #2C3E50;
color: white;
border-bottom: 5px solid #19242E;
border-right: 3px solid #19242E;
}
.rounded {
border-radius: 12px;
background: #E74C3C;
background: linear-gradient(to bottom, #E74C3C, #872C23);
color: white;
padding: 22px;
}
.flat:hover {
background: #486582;
border-bottom: 3px solid #384F66;
border-right: 2px solid #384F66;
margin-top: 2px;
margin-right: 21px;
}
.flat:active {
background: #486582;
border-bottom: 0px;
border-right: 0px;
margin-top: 5px;
margin-right: 23px;
}
.rounded:hover {
background: #872C23;
background: radial-gradient(#E74C3C, #872C23);
}
.rounded:active {
background: #5E1F19;
background: radial-gradient(#E74C3C, #5E1F19);
}
</style>
</head>
<body>
<h1>Buttons</h1>
<a href="#" class="button flat">FLAT BUTTON</a>
<a href="#" class="button rounded">3D BUTTON</a>
</body>
</html>