Skip to content
Open
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
75 changes: 69 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,75 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Instagram Clone</title>
<!-- don't forget to link your styles -->
<link rel="stylesheet" href="./styles/style.css">
</head>

<body>
Instagram Capture and Share the World's Moments Instagram is a fast, beautiful and fun way to share your life with
friends and family. Take a picture or video, choose a filter to transform its look and feel, then post to Instagram
&mdash; it's that easy. You can even share to Facebook, Twitter, Tumblr and more. It's a new way to see the world.
Oh yeah, did we mention it's free? Download on the App Store Get it on Google Play About Us Support Blog Press API
Jobs Privacy Terms &copy; 2014 Instagram

<main class="hero">
<!-- Columna izquierda: móviles -->
<section class="col-left">
<img
src="./images/phones.png"
alt="Instagram app en dos iPhones"
class="phones"
/>
</section>

<!-- Columna derecha: wordmark + login + tarjeta -->
<section class="col-right">
<div class="brand-row">
<img src="./images/brand.png" alt="Instagram" class="wordmark" />
<button class="btn-login">
<img src="./images/home.png" alt="" class="icon" /> Log in
</button>
</div>

<article class="card">
<h1>Capture and Share the World's Moments</h1>

<p>
Instagram is a fast, beautiful and fun way to share your life with
friends and family.
</p>

<p>
Take a picture or video, choose a filter to transform its look and
feel, then post to Instagram &mdash; it's that easy. You can even
share to Facebook, Twitter, Tumblr and more. It's a new way to see
the world.
</p>

<p>Oh yeah, did we mention it's free?</p>

<div class="badges">
<img
src="./images/badge-iphone.png"
alt="Download on the App Store"
/>
<img
src="./images/badge-android.png"
alt="Get it on Google Play"
/>
</div>
</article>
</section>
</main>

<footer>
<nav class="site-footer">
<ul class="footer-links">
<li><a href="#">About Us</a></li>
<li><a href="#">Support</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Press</a></li>
<li><a href="#">API</a></li>
<li><a href="#">Jobs</a></li>
<li><a href="#">Privacy</a></li>
<li><a href="#">Terms</a></li>
</ul>
<small>&copy; 2014 Instagram</small>
</nav>
</footer>
</body>
</html>
</html>
99 changes: 99 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,103 @@ light blue: #1c5380
body {
font: 200 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
background: linear-gradient(#1c5380 0 320px, #f2f2f2 320px);
background-repeat: no-repeat;
min-height: 100vh;
}

.hero {
max-width: 960px;
margin: 32px auto;
padding: 0 16px;
display: flex;
align-items: flex-start;
gap: 16px;
}

.col-left, .col-right {
flex: 1;
}

.phones {
max-width: 100%;
height: auto;
display: block;
}

.brand-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
}
.wordmark {
height: 48px; display:block;
}

.btn-login {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 12px;
background: #fff;
color: #1c5380;
border: 1px solid #1c5380;
border-radius: 4px;
cursor: pointer;
}
.btn-login .icon{ width:16px; height:16px; display:block; }

.card {
background: #fff;
border-radius: 6px;
padding: 16px 20px;
}

h1 {
color: #06365f;
}

.badges {
display: flex;
gap: 12px;
margin-top: 12px;
}

.badges img {
height: 40px; display:block;
}

.site-footer{
max-width: 960px;
margin: 24px auto 40px;
padding: 0 16px;
color: #1c5380;
}

.footer-links{
list-style: none;
display: flex;
gap: 16px;
justify-content: center;
padding: 0;
margin: 0 0 8px;
}

.footer-links a{
text-decoration: none;
color: inherit;
font-size: 14px;
}

.footer-links a:hover{
text-decoration: underline;
}

.site-footer small{
display: block;
text-align: center;
color: #666;
font-size: 12px;
}