-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
56 lines (54 loc) · 858 Bytes
/
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
body {
margin: 20px;
text-align: center;
background: url("./water1.jpg");
background-size: cover;
background-position: center;
}
input {
margin-top: 10px;
margin-bottom: 20px;
opacity: 0.6;
}
h4 {
color: #fff;
}
/* dwefced */
button {
background: #026bce;
color: #fff;
border: none;
position: relative;
height: 40px;
font-size: 1.3em;
padding: 0 1.2em;
cursor: pointer;
transition: 800ms ease all;
outline: none;
}
button:hover {
background: rgb(28, 132, 252);
color: #ffffff;
}
button:before,
button:after {
content: "";
position: absolute;
top: 0;
right: 0;
height: 2px;
width: 0;
background: #98c8ff;
transition: 400ms ease all;
}
button:after {
right: inherit;
top: inherit;
left: 0;
bottom: 0;
}
button:hover:before,
button:hover:after {
width: 100%;
transition: 800ms ease all;
}