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
70 changes: 57 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Instagram Clone</title>
<!-- don't forget to link your styles -->
</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
</body>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Instagram Clone</title>
<link rel="stylesheet" href="./styles/style.css" />
</head>

<body>

<main class="main">
<div class="layout">
<img class="phone-img" src="./images/phones.png" alt="phone preview" />

<div>
<div class="header">
<img class="logo" src="./images/brand.png" alt="Instagram logo" />
<button class="login-button">
<img src="./images/home.png" alt="log in icon" />
Log in
</button>
</div>

<div class="content-box">
<h1>Capture and Share the World's Moments</h1>
<p>
Instagram is a <strong>fast</strong>, <strong>beautiful</strong> and <strong>fun</strong> 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 — 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>
</div>
</div>
</div>
</main>

<footer>
<nav>
<a href="#">About Us</a>
<a href="#">Support</a>
<a href="#">Blog</a>
<a href="#">Press</a>
<a href="#">API</a>
<a href="#">Jobs</a>
<a href="#">Privacy</a>
<a href="#">Terms</a>
&copy; 2014 Instagram
</nav>
</footer>

</body>
</html>
92 changes: 91 additions & 1 deletion styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,97 @@ dark blue: #06365f
light blue: #1c5380
*/

/* General reset and font */
body {
font: 200 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
background:
linear-gradient(to bottom, transparent 50%, white 50%),
linear-gradient(#1c5380, #06365f 95%);
font-family: sans-serif;
margin: 0;
padding: 0;
}

/* Main section */
.main {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
padding: 10rem;
}

/* Layout */
.layout {
display: flex;
flex-direction: row;
gap: 16px;
justify-content: flex-start;
}

/* Logo & Login button */
.header {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}

.logo {
height: 50px;
}

.login-button {
padding: 8px;
border-radius: 2px;
background-color: #517fa4;
color: aliceblue;
display: flex;
align-items: center;
gap: 8px;
box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.2);
border: none;
cursor: pointer;
}

/* Content box */
.content-box {
background: linear-gradient(white 75%, transparent 100%);
text-align: left;
padding: 2rem;
border-radius: 0.5rem;
box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Typography */
h1 {
color: #06365f;
}

p {
margin: 1rem 0;
}

/* Download badges */
.badges {
display: flex;
gap: 10px;
margin-top: 1.5rem;
}

/* Footer */
footer nav {
display: flex;
flex-direction: row;
justify-content: center;
gap: 16px;
margin: 2rem 0;
font-size: 12px;
}

footer nav a {
text-transform: uppercase;
text-decoration: none;
font-weight: bold;
color: #06365f;
}