-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnickcss.css
More file actions
128 lines (117 loc) · 1.7 KB
/
nickcss.css
File metadata and controls
128 lines (117 loc) · 1.7 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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
html{
background:#333333;
color:#dddddd;
}
.spanName{
color:#999999;
}
h2{
animation: rainbow 0.5s;
animation-iteration-count: infinite;
}
@keyframes rainbow{
100%,0%{
color: rgb(255,0,0);
}
8.3%{
color: rgb(255,127,0);
}
16.6%{
color: rgb(255,255,0);
}
25%{
color: rgb(127,255,0);
}
33.3%{
color: rgb(0,255,0);
}
41.6%{
color: rgb(0,255,127);
}
50%{
color: rgb(0,255,255);
}
58.3%{
color: rgb(0,127,255);
}
66.6%{
color: rgb(0,0,255);
}
75%{
color: rgb(127,0,255);
}
83.3%{
color: rgb(255,0,255);
}
91.6%{
color: rgb(255,0,127);
}
}
#main {
border:2px dashed white;
width:40%;
padding:10px;
}
button{
background:#333333;
color:white;
}
#main button{
border:2px solid white;
height:30px;
width:28%;
vertical-align:middle;
text-align: center;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
}
#main button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
#main button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
#main button:hover span {
padding-right: 25px;
}
#main button:hover span:after {
opacity: 1;
right: 0;
}
#btnSearch{
transition: all 0.5s;
cursor: pointer;
margin: 5px;
padding:5px;
border:2px solid white;
}
#btnSearch span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
#btnSearch span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
#btnSearch:hover span {
padding-right: 25px;
}
#btnSearch:hover span:after {
opacity: 1;
right: 0;
}