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
77 changes: 63 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,65 @@
<!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>
</html>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Instagram Clone</title>
<link rel="stylesheet" type="text/css" href="styles/style.css" />
</head>

<body>
<div class="white-background">
<div class="blue-background">
</div>

<div class="content-container">

<div class="phone-image">
<img src="./images/phones.png"/>
</div>

<div class="right-side">
<div class="header">
<img src="./images/brand.png" alt="Instagram logo"/>
<button type="button">
<img src="./images/home.png" alt="Home logo"/> Log in
</button>
</div>

<div class="gradient-content">

<div class="text">
<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</p>

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

<div class="download-app">
<img src="./images/badge-iphone.png" alt="iphone download the app"/>
<img src="./images/badge-android.png" alt="android download the app"/>
</div>
</div>
</div>
<div class="bottom-links">
<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
</div>
</div>
</div>
</body>

</html>
105 changes: 105 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,113 @@ Colors to use:
dark blue: #06365f
light blue: #1c5380
*/
* {
margin: 0;

}

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

.white-background {
position: relative;
width: 100vw;
height: 100vw;
}

.blue-background {
background: url("../images/bgtile.png");
background-repeat: repeat;
background-size: cover;
position: absolute;
top: 0;
left: 0;
height: 320px;
width: 100%;
}

.phone-image {
position: absolute;
top: 120px;
left: 280px;
}

.right-side {
display: flex;
flex-direction: column;
position: absolute;
top: 120px;
left: 50%;
width: 500px;
}

.header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 30px;
}

button {
padding: 10px 10px;
color: white;
background-color: #1c5380;
border: 1px solid #06365f;
border-radius: 3px;
display: flex;
align-items: center;
background: rgb(141, 184, 219);
background: linear-gradient(180deg, rgba(141, 184, 219, 1) 0%, rgba(28, 83, 128, 1) 100%);
}

button img {
margin-right: 15px;
}

.gradient-content {
background: url("../images/frame.png");
background-repeat: no-repeat;
display: flex;
flex-direction: column;
padding: 35px 50px;
}

.text h1 {
color: #06365f;
width: 80%;
font-size: 30px;
line-height: 40px;
margin-bottom: 25px;
}

.text p {
width: 95%;
font-size: 15px;
line-height: 20px;
margin-bottom: 15px;
}

.download-app {
display: flex;
justify-content: space-around;
margin-top: 20px;
margin-left: -30px;
}

.bottom-links {
position: absolute;
display: flex;
justify-content: space-between;
top: 780px;
left: 26%;
width: 600px;
font-size: 13px;
}

.bottom-links a {
color: #1c5380;
font-weight: 500;
text-decoration: none;
}