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
44 changes: 38 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,45 @@
<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 -->
<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
<div class="container">

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

<div class="content">
<div class="phone-display">
<img src="./images/phones.png" alt="Phone Screen" class="phone">
</div>
<div class="text-section">
<h1>Capture and Share the World's Moments</h1>
<p>Instagram is a <strong>fast, beautiful</strong> 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 — 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="download-buttons">
<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>
<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>
</nav>
<p>&copy; 2014 Instagram</p>
</footer>
</div>

</body>
</html>
104 changes: 98 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,102 @@
/*
Colors to use:
dark blue: #06365f
light blue: #1c5380
*/

body {
font: 200 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
}

.container {
margin: 0 auto;
padding: 20px;
text-align: center;
background: linear-gradient(to bottom, #3897f0, #3897f0 50%, #f3f4f7 50%, #f3f4f7);
}

.header {
display: flex;
justify-content: flex-end;
align-items: center;
padding: 10px 20px;
}

.logo {
height: 40px;
}

.login-button {
display: flex;
align-items: center;
background: linear-gradient(#82c0fa, #3897f07a);
color: white;
border: 5px, solid, #3897f03c;
border-radius: 5%;
cursor: pointer;
font-size: 14px;
margin-left: 20px;
}

button > img {
padding-right: 10px;
}

.content {
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}

.phone-display {
display: flex;
position: relative;
margin-right: 30px;
}

.phone {
height: 400px;
}

.text-section {
max-width: 400px;
text-align: left;
background-color: white;
border-radius: 2%;
padding: 0 20px;
}

.text-section h1 {
font-size: 24px;
color: #06365f;
margin-bottom: 16px;
}

.text-section p {
color: black;
font-size: 14px;
margin-bottom: 12px;
line-height: 1.6;
}

.download-buttons img {
height: 40px;
margin: 8px;
cursor: pointer;
}

footer {
margin-top: 30px;
border-top: 1px solid #ddd;
padding-top: 20px;
font-size: 12px;
color: #999;
}

footer nav a {
color: #1c5380;
margin: 0 10px;
text-decoration: none;
text-transform: uppercase;
}

footer nav a:hover {
text-decoration: underline;
}