Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions Sign Up Form Designs/sign-up-leeconnelly12/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Contact form</title>
<link rel="stylesheet" href="./style.css">
</head>

<body>

<section class="contact-form">
<h1>Sign up form</h1>
<fieldset>
<input type="text" name="first_name" id="first_name" placeholder="First name">
</fieldset>
<fieldset>
<input type="text" name="last_name" id="last_name" placeholder="Last name">
</fieldset>
<fieldset>
<input type="email" name="email" id="email" placeholder="Email">
</fieldset>
<fieldset>
<input type="password" name="password" id="password" placeholder="Password">
</fieldset>
<fieldset>
<button type="submit">Sign up</button>
</fieldset>
</section>

</body>

</html>
72 changes: 72 additions & 0 deletions Sign Up Form Designs/sign-up-leeconnelly12/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
* {
box-sizing: border-box;
}

html,body {
height: 100%;
}

body {
margin: 0;
font-family: sans-serif;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}

.contact-form {
width: 100%;
max-width: 400px;
margin: auto;
background-color: #24297d;
padding: 25px;
}

h1 {
margin-top: 0;
margin-bottom: 20px;
}

fieldset {
border: 0;
padding-left: 0;
}

label {
display: block;
margin-bottom: 4px;
}

textarea {
resize: none;
height: 100px;
}

input {
height: 40px;
padding-left: 15px;
color: white;
}

input,
textarea {
width: 100%;
border: 1px solid #d7d7d7;
background-color: transparent;
}

button {
border: 0;
background-color: #21c100;
color:white;
font-weight: bold;
text-transform: uppercase;
height: 40px;
max-width: 110px;
width: 100%;
text-transform: uppercase;
letter-spacing: 1px;
display: block;
margin-left: auto;
}