Skip to content

Commit

Permalink
proyecto 1 finalizado
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres-Arreaza committed Aug 6, 2024
1 parent a9546b4 commit b8bf047
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 0 deletions.
1 change: 1 addition & 0 deletions .learn/telemetry.json

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions index.html
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>
73 changes: 73 additions & 0 deletions styles.css
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);
}

0 comments on commit b8bf047

Please sign in to comment.