-
Notifications
You must be signed in to change notification settings - Fork 0
/
style1.css
123 lines (100 loc) · 1.93 KB
/
style1.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
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
.btn {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 10px;
font-family: consolas;
}
.btn a {
position: relative;
display: inline-block;
color: #2196f3;
text-transform: uppercase;
letter-spacing: 4%;
text-decoration: none;
font-size: 15px;
overflow: hidden;
transition: 0.2s;
}
.btn a:hover {
color: #f0f1f2;
background: green;
box-shadow: 0 0 10px green, 0 0 40px green, 0 0 80px green;
transition-delay: 1s;
}
.btn a span {
position: absolute;
display: block;
}
.btn a span:nth-child(1) {
top: 0;
left: -100%;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, green);
}
.btn a:hover span:nth-child(1) {
left: 100%;
transition: 1s;
}
.btn a span:nth-child(3) {
bottom: 0;
right: -100%;
width: 100%;
height: 2px;
background: linear-gradient(270deg, transparent, green);
}
.btn a:hover span:nth-child(3) {
left: 100%;
transition: 1s;
transition-delay: 0.5s;
}
.btn a span:nth-child(2) {
top: -100%;
right: 0;
width: 2px;
height: 100%;
background: linear-gradient(180deg, transparent, green);
}
.btna:hover span:nth-child(2) {
top: 10%;
transition: 1s;
transition-delay: 0.25s;
}
.btn a span:nth-child(4) {
bottom: -100%;
left: 0;
width: 2px;
height: 100%;
background: linear-gradient(360deg, transparent, green);
}
.btn a:hover span:nth-child(4) {
bottom: 100%;
transition: 1s;
transition-delay: 0.75s;
}
.del {
color: red;
}
#text{
height: 25px;
border-radius: 5px;
padding: 4px;
border: solid thin #aaa;
width: 100%;
}
#button{
padding: 10px;
width: 100px;
color: white;
border: none;
}
#box{
font-size: large;
background-color: rgba(202, 192, 192, 0.277);
margin: auto;
width: 300px;
padding: 20px;
}