-
-
Notifications
You must be signed in to change notification settings - Fork 120
/
Copy pathsignup.html
141 lines (122 loc) · 3.35 KB
/
signup.html
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<style>
body{
margin: 0;
padding: 0;
font-family:sans-serif;
background-image:url(background.jpg) ;
background-size:cover;
background-position:center;
}
.sign-up-form{
width: 300px;
box-shadow: 0 0 3px 0 rgba(0,0,0,0,3);
background: #fff ;
padding: 30px;
margin: 8% auto 0;
text-align: center;
}
.sign-up-form h1{
color: #1c8adb;
margin-bottom: 30px;
}
.input-box{
border-radius: 20px;
padding: 10px;
margin: 10px 0;
width: 100%;
border:1px solid #999;
outline: none;
}
button{
color:#fff;
width: 100%;
padding: 10px;
border-radius: 20px;
font-size: 15px;
margin: 10px 0;
border: none;
outline: none;
cursor: pointer;
}
.signup-btn{
background-color:#1c8adb;
}
.signup-btn:hover{
background-color:#1a7bc1;
}
.twitter-btn{
background-color:#21afde;
}
.twitter-btn:hover{
background-color:#2893b7;
}
a {
text-decoration:none;
}
hr{
margin-top: 20px;
width:80%;
}
.or{
background:#fff;
width: 30px;
margin: -19px auto 10px;
}
img{
width:70px;
margin-top:-50px;
}
form{
display: flex;
flex-direction: column;
justify-content: center;
align-items:center;
}
::placeholder{
color: rgb(126, 126, 126);
padding-left: 5px;
font-weight: 500;
}
input{
outline: none;
}
input:focus {
outline:2px solid #1c8adb;
border: none;
}
@media (min-width: 340px) and (max-width: 480px) {
.sign-up-form{
width: 230px;
}
h1{
font-size: 1.5rem;
}
.tc{
font-size: 0.9rem;
}
}
</style>
</head>
<body>
<div class="sign-up-form">
<img src="user.png">
<h1>Sign Up Now</h1>
<form class="form">
<input type="email" class="input-box" placeholder="your Email">
<input type="password" class="input-box" placeholder="your password">
<p class="tc"><span><input type="checkbox"></span> I agree to the terms of services</p>
<button type="button" class="signup-btn">Sign up</button>
<hr>
<p class="or">OR</p>
<button type="button" class="twitter-btn">Login with twitter</button>
</form>
</div>
</body>
</html>