forked from breatheco-de/exercise-postcard
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
a9546b4
commit b8bf047
Showing
3 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,36 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
|
||
<!--MIS CSS--> | ||
<link rel="stylesheet" href="styles.css" /> | ||
<title>Postcard-Andres-Arreaza</title> | ||
</head> | ||
<body> | ||
<div class="postcard"> | ||
<div class="postcard-header"> | ||
<h1>My Postcard</h1> | ||
<img | ||
src="https://raw.githubusercontent.com/breatheco-de/exercise-postcard/e63a7916530cc850bd92aa1c2e19191837fb5c80/.learn/assets/4geeks.png" | ||
alt="logo de 4Geesks" | ||
/> | ||
</div> | ||
<div class="postcard-body"> | ||
<div class="body-left"> | ||
<p>Look how awesome! This is a postcard that I created using HTML5 and CSS3 during my 4geeks Academy Course!</p> | ||
<p>This is so cool, can't wait to start doing more stuff!</p> | ||
</div> | ||
<div class="body-right"> | ||
<input type="text" placeholder=" Some name" /> | ||
<input type="text" placeholder=" Some email" /> | ||
<input type="text" placeholder=" some comment" /> | ||
</div> | ||
</div> | ||
<div class="postcard-footer"> | ||
<button>Send my postcard</button> | ||
</div> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
body { | ||
background: rgb(177, 177, 177); | ||
font-family: "Roboto", sans-serif; | ||
} | ||
/* * { | ||
border: 1px dashed red; | ||
min-height: 10px; | ||
} */ | ||
|
||
.postcard { | ||
background: white; | ||
width: 400px; | ||
height: 300px; | ||
margin: auto; | ||
justify-content: center; | ||
margin-top: 200px; | ||
border-radius: 10px; | ||
padding: 10px; | ||
} | ||
|
||
.postcard-header { | ||
display: flex; | ||
} | ||
.postcard-header img { | ||
width: 50px; | ||
height: 50px; | ||
margin-top: 5px; | ||
} | ||
.postcard-header h1 { | ||
width: 80%; | ||
margin: 10px; | ||
} | ||
|
||
.postcard-body { | ||
display: flex; | ||
} | ||
|
||
.body-left:first-child { | ||
margin-top: 0 !important; | ||
} | ||
.body-left, | ||
.body-right { | ||
margin-top: 10px; | ||
padding: 5px; | ||
} | ||
|
||
input { | ||
border: none; | ||
border-bottom: 1px solid grey; | ||
text-transform: capitalize; | ||
outline: none; | ||
font-size: 15px; | ||
width: 150px; | ||
margin-top: 6px; | ||
} | ||
input:focus { | ||
border-bottom: 2px solid grey; | ||
} | ||
|
||
.postcard-footer { | ||
text-align: center; | ||
} | ||
button { | ||
background-color: #b1b1b1; | ||
padding: 5px; | ||
text-transform: capitalize; | ||
border-radius: 5px; | ||
margin-top: 15px; | ||
} | ||
button:active { | ||
background: #d4d4d4; | ||
transform: scale(0.95); | ||
} |