-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbutton.html
More file actions
80 lines (68 loc) · 1.19 KB
/
button.html
File metadata and controls
80 lines (68 loc) · 1.19 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
79
80
<button class="btn success">Success</button>
<button class="btn info">Info</button>
<button class="btn warning">Warning</button>
<button class="btn danger">Danger</button>
<button class="btn default">Default</button>
<style>
.btn {
border: none;
background-color: inherit;
padding: 14px 28px;
font-size: 16px;
cursor: pointer;
display: inline-block;
}
/* On mouse-over */
.btn:hover {background: #eee;}
.success {color: green;}
.info {color: dodgerblue;}
.warning {color: orange;}
.danger {color: red;}
.default {color: black;}
.btn {
border: none;
background-color: inherit;
padding: 14px 28px;
font-size: 16px;
cursor: pointer;
display: inline-block;
}
/* Green */
.success {
color: green;
}
.success:hover {
background-color: #04AA6D;
color: white;
}
/* Blue */
.info {
color: dodgerblue;
}
.info:hover {
background: #2196F3;
color: white;
}
/* Orange */
.warning {
color: orange;
}
.warning:hover {
background: #ff9800;
color: white;
}
/* Red */
.danger {
color: red;
}
.danger:hover {
background: #f44336;
color: white;
}
/* Gray */
.default {
color: black;
}
.default:hover {
background: #e7e7e7;
}</style>