-
Notifications
You must be signed in to change notification settings - Fork 0
/
final.css
119 lines (116 loc) · 3.93 KB
/
final.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
/* ==========================================
FINAL.CSS
These are the final styles for the project.
Course: CSS3 in 30 Days
Author: Brad Hussey
Website: codecollege.ca
========================================== */
.final__register-wrapper {
background-image: -webkit-linear-gradient(135deg, #82eb98 30%, #4ad255 90%);
background-image: linear-gradient(135deg, #82eb98 30%, #4ad255 90%);
position: relative;
z-index: 3;
padding: 100px;
font-size:16px;
color: #999999;
}
.final__register-wrapper * {
box-sizing: border-box;
}
.final__register-wrapper form input {
display: inline-block;
width: 100%;
padding: 0 20px;
line-height: 50px;
height: 50px;
background-color: white;
border: 1px solid #e6e6e6;
border-bottom-width: 3px;
border-radius: 5px;
outline: 0;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.final__register-wrapper form input:not(:last-child) {
margin-bottom: 20px;
}
.final__register-wrapper form input[type="email"]:focus, .final__register-wrapper form input[type="email"]:active, .final__register-wrapper form input[type="password"]:focus, .final__register-wrapper form input[type="password"]:active {
border-color: #cccccc;
}
.final__register-wrapper form input[type="submit"] {
position: relative;
z-index: 1;
display: inline-block;
padding: 0 20px;
font-size: 1rem;
background-color:
#f2f039;
background-size: 100%;
background-image: -webkit-linear-gradient(45deg,
rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%,
rgba(0, 0, 0, 0) 50%,rgba(255, 255, 255, 0.15) 50%,
rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%,
rgba(0, 0, 0, 0));
background-image: linear-gradient(45deg,
rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%,
rgba(0, 0, 0, 0) 50%,
rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%,
rgba(0, 0, 0, 0));
background-size: 20px 20px, 100% 100%;
border: 1px solid #dff07d;
border-bottom-width: 3px;
color: white;
outline: none;
cursor: pointer;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.final__register-wrapper form input[type="submit"]:hover {
background-size: 40px 40px;
}
.final__register-title {
font-size: 1.5em;
padding-bottom: 20px;
margin: 0 0 20px;
border-bottom: 1px dashed #e6e6e6;
}
.final__register-block {
position: relative;
display: block;
width: 100%;
max-width: 300px;
margin: auto;
padding: 30px;
background-color: white;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
border-radius: 5px;
}
.final__register-block:before, .final__register-block:after {
position: absolute;
z-index: -1;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: block;
width: 100%;
height: 100%;
content: "";
background-color: white;
border: 1px solid #e6e6e6;
border-radius: 5px;
-webkit-transform: scale(0.9) translate(0, 0);
transform: scale(0.9) translate(0, 0);
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.final__register-block:hover:before {
z-index: -1;
-webkit-transform: scale(0.96) translate(0, 16px);
transform: scale(0.96) translate(0, 16px);
}
.final__register-block:hover:after {
z-index: -2;
-webkit-transform: scale(0.92) translate(0, 32px);
transform: scale(0.92) translate(0, 32px);
}