-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
146 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,60 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
|
||
<title>Contact</title> | ||
<link rel="stylesheet" href="./main.css"> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
|
||
<main class="page"> | ||
|
||
<form> | ||
<div class="form-group"> | ||
<h1> CONTACTO</h1> | ||
<label for="name">Name</label> | ||
<input id="name" type="text" placeholder="Introduce your name" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="email">Email</label> | ||
<input id="email" type="email" placeholder="introduce your Email" required> | ||
</div> | ||
<div class="form-group"> | ||
<fieldset> | ||
<legend>Budget</legend> | ||
<input id="10000" name="budget" type="radio"><label for="10000">$10.000</label> | ||
<input id="5000" name="budget" type="radio"><label for="5000">$5.000</label> | ||
<input id="1000" name="budget" type="radio"><label for="1000">$1.000</label> | ||
</fieldset> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="type">Project Type</label> | ||
<select id="type" required> | ||
<option disbled selected>Choose one</option> | ||
<option>Website</option> | ||
<option>Webapp</option> | ||
<option>Mobile App</option> | ||
<option>Design</option> | ||
</select> | ||
</div> | ||
<div class="form-group"> | ||
<label for="description">Description</label> | ||
<textarea id="description"></textarea> | ||
<div> Write a short description of the project that you need</div> | ||
</div> | ||
<div class="form-group"> | ||
<label for="terms" type="checkbox"> | ||
<input id="terms" type="checkbox" required> | ||
<span>Accept terms and conditions</span> | ||
</label> | ||
</div> | ||
<button>Send</button> | ||
|
||
</form> | ||
</main> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
html{ | ||
box-sizing: border-box; | ||
} | ||
|
||
* { | ||
box-sizing: inherit; | ||
} | ||
|
||
h1 { | ||
|
||
color: #333; | ||
max-width: 800px; | ||
margin-top: 100px; | ||
margin-left: 100px; | ||
padding: 0 40px; | ||
font-family: Arial, Helvetica, sans-serif; | ||
} | ||
|
||
body { | ||
|
||
color: #333; | ||
background-color: #fefefe | ||
|
||
|
||
} | ||
|
||
|
||
.page { | ||
max-width: 800px; | ||
font-family: Arial, Helvetica, sans-serif; | ||
padding: 100px auto; | ||
margin: 0 40px; | ||
|
||
|
||
} | ||
|
||
.form-group { | ||
|
||
margin: 20px 0; | ||
|
||
} | ||
|
||
label, input { | ||
vertical-align: middle; | ||
} | ||
|
||
label, input:not([type="radio"], [type="checkbox"]) { | ||
color: #666; | ||
width: 100%; | ||
|
||
|
||
} | ||
|
||
label{ | ||
font-weight: bold; | ||
|
||
} | ||
|
||
|
||
|
||
|
||
legend { | ||
font-weight: bold; | ||
color: #666; | ||
|
||
} | ||
|
||
input[type="text"], [type="email"], textarea { | ||
|
||
background: white; | ||
display: block; | ||
border: 1px solid lightgray; | ||
border-radius: 4px; | ||
padding: 8px 10px; | ||
resize: vertical; | ||
width: 100%; | ||
} | ||
|
||
|
||
textarea + div { | ||
display: block; | ||
font-size: 12px; | ||
margin-top: 10px 0 0; | ||
display: block; | ||
resize: vertical; | ||
height: 40px; | ||
font-family: Arial, Helvetica, sans-serif; | ||
color: gray; | ||
height: 40px; | ||
} | ||
|
||
button { | ||
font-family: Arial, Helvetica, sans-serif; | ||
} | ||
|