-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.css
100 lines (100 loc) · 2.13 KB
/
form.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
body{
margin:0;
padding:0;
background-image:;
background:#efefef;
font-size: 16px;
color:#777;
font-family: sans-serif;
font-weight:300;
}
#login-box{
position: relative;
margin:5% auto;
height:400px;
width:600px;
background:#fff;
//background-image:linear-gradient(27deg,#004E95 50%, #013A6B 50%);
box-shadow: 0 2px 4px rgba(0,0,0,0.6);
opacity:40px;
}
.left-box{
position:absolute;
top:0;
left:0;
box-sizing:border-box;
padding:40px;
width:300px;
height:400px;
background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQFAwZ5XtVypGauxFM3UnP8TS51W4FCDaS7xHIa5LzmNEVRKg8d&s");
}
h1{
font-weight:300;
font-size:28px;
}
input[type="text"], input[type="email"], input[type="password"]{
display: block;
box-sizing:border-box;
margin-bottom:20px;
padding:4px;
width:220px;
height:32px;
border:none;
outline:none;
border-bottom:1px solid #aaa;
font-family: sans-serif;
font-weight:400;
font-size:15px;
transition:0.2s ease;
background-color: transparent;
}
input[type="submit"]{
margin-bottom:28px;
width:120px;
height:32px;
background:#f44336;
border:none;
border-radius:2px;
color:#fff;
font-family:sans-serif;
font-weight:500;
text-transform:uppercase;
transition:0.2s ease;
cursor:pointer;
}
input[type="submit"]:hover,
input[type="submit"]:focus{
background: #ff5722;
transition:0.2s ease;
}
.right-box{
position:absolute;
top:0;
right:0;
box-sizing:border-box;
padding:40px;
width:300px;
height:400px;
background-image: url("https://i.pinimg.com/originals/8f/43/3e/8f433ed00acf3eb0bae3ad1d0e4b63f4.jpg");
background-size:cover;
background-position:center;
}
.right-box h1{
color:#fff;
}
.right-box input[type="text"], .right-box input[type="password"]{
border-bottom: 1px solid #fff;
color: #fff;
}
.right-box input[type="text"]::placeholder, .right-box input[type="password"]::placeholder{
color:#fff;
}
.right-box input[type="submit"]{
margin-top:49px;
}
.right-box:hover{
box-shadow: -2px 7px 14px 0px rgba(0,0,0,0.86);
}
.left-box:hover{
box-shadow: -2px 7px 14px 0px rgba(0,0,0,0.86);
}