-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhue-rotate-demo2.html
112 lines (100 loc) · 5.27 KB
/
hue-rotate-demo2.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
button,
[type="button"],
[type="submit"] {
outline: 0;
}
input.ui-button,
button.ui-button {
height: 20px;
box-sizing: content-box;
}
.ui-button {
display: inline-block;
line-height: 20px;
font-size: 14px;
text-align: center;
color: #4c5161;
border: 1px solid #d0d0d5;
border-radius: 4px;
padding: 9px 15px;
min-width: 50px;
background-color: #fff;
background-repeat: no-repeat;
background-position: center;
text-decoration: none;
transition: border-color .15s, background-color .15s, opacity .15s;
cursor: pointer;
overflow: visible;
}
.ui-button-primary {
border: 1px solid #2486ff;
background-color: #2486ff;
color: #fff;
}
.ui-button-primary:hover {
background-color: #0160d5;
border-color: #0160d5;
color: #fff;
}
.ui-button-primary:not(.disabled):active,
.ui-button-primary:not(.loading):active {
background-color: #0057c3;
border-color: #0057c3;
}
button {
margin: 20px 50px;
}
</style>
</head>
<body>
<div id="app">
<button class='ui-button ui-button-primary'>原始色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(20deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(30deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(40deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(50deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(60deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(70deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(80deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(90deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(100deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(110deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(120deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(130deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(140deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(150deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(160deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(170deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(180deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(190deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(200deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(210deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(220deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(230deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(240deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(250deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(260deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(270deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(280deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(290deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(300deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(310deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(320deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(330deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(340deg);">其它色按钮</button>
<button class="ui-button ui-button-primary" style="filter:hue-rotate(350deg);">其它色按钮</button>
</div>
</body>
<script>
$(function() {
console.log('hello world');
});
</script>
</html>