-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
46 lines (44 loc) · 819 Bytes
/
styles.css
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
button {
display: inline-block;
background-color: #38d895;
border-radius: 10px;
border: 4px double #cccccc;
color: #ffffff;
text-align: center;
font-size: 28px;
padding: 20px;
width: 200px;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
text-align: center;
}
button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
button span:after {
content: "\00bb";
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
button:hover {
background-color: radial-gradient(red, rgb(0, 255, 123), rgb(0, 21, 128));
}
button:hover span {
padding-right: 25px;
}
button:hover span:after {
opacity: 1;
right: 0;
}
body {
background-color: rgb(255, 144, 80);
text-align: center;
font-family: "Merriweather", serif;
}