-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
71 lines (71 loc) · 1.13 KB
/
style.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
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
body{
background: linear-gradient(90deg, yellow, green);
height: 100%;
margin: 0px;
}
h3{
margin: 0px;
font-family: sans-serif;
color: floralwhite;
background: green;
padding: 8px;
}
h4{
display: table;
text-align: center;
margin: 50px;
margin-bottom: 10px;
font-family: sans-serif;
color: floralwhite;
background: indianred;
border-radius: 20px;
padding: 8px;
}
input{
height: 6px;
width: auto;
margin: 20px;
padding: 20px;
font-size: 20px;
background-color: greenyellow;
border-radius: 20px;
border-width: 8px;
font-family: fantasy;
border-color: greenyellow;
text-align: center;
}
/* CSS */
.button-52 {
font-size: 16px;
font-weight: 200;
letter-spacing: 1px;
padding: 13px 20px 13px;
outline: 0;
border: 1px solid black;
cursor: pointer;
position: relative;
background-color: rgba(0, 0, 0, 0);
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}
.button-52:after {
content: "";
background-color: greenyellow;
width: 100%;
z-index: -1;
position: absolute;
height: 100%;
top: 7px;
left: 7px;
transition: 0.2s;
}
.button-52:hover:after {
top: 0px;
left: 0px;
}
@media (min-width: 768px) {
.button-52 {
padding: 13px 50px 13px;
}
}