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
51 changes: 45 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,52 @@
<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="blue-background"></div>
<div class="white-background"></div>

<div class="container-absolute">
<div class="img-phone"></div>

<div class="container">
<div class="container-top">
<div class="container-top-instagram"></div>
<div class="container-top-button">
<div class="img-button"></div>
<div class="img-button-text">Log in</div>
</div>
</div>
<div class="container-context-and-bottom">
<div class="container-content">
<h1>Capture and Share the World's Moments</h1>
<p>Instagram is a <span>fast</span>, <span>beautiful</span> and <span>fun</span> way to share your life with
friends and family.<br><br> 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.<br><br>
Oh yeah, did we mention it's free?</p>
</div>

<div class="container-bottom">
<div class="container-bottom-apple"></div>
<div class="container-bottom-android"></div>
</div>
</div>
</div>
</div>

<footer>
<ul>
<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>
<span class="footer-item">&copy; 2014 INSTAGRAM</span>
</ul>
</footer>
</body>
</html>
170 changes: 170 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,177 @@ dark blue: #06365f
light blue: #1c5380
*/


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

h1 {
color: #06365f;
text-align: left;
width: 325px;
}

a {
color: #1c5380;
text-decoration: none;
font-weight: bold;
margin-right: 25px;

}

p {
font-size: clamp(14px, 1.2vw, 32px);
margin-right: 70px;
}

span {
font-weight: bold;
}

footer {
width: 100%;
height: 5vh;
font-size: 12px;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
position: relative;
}

.blue-background {
width: 100%;
height: 35vh;
background-image: url(/images/bgtile.png);
}

.white-background {
width: 100%;
height: 55vh;
}

.container-absolute {
width: 100%;
height: 80vh;
display: flex;
flex-direction: row;
position: absolute;
justify-content: space-evenly;
align-content: center;
top: 45px;
}

.container {
min-width: 30vw;
min-height: 75vh;
}

.container-top {
min-width: 55vw;
height: 175px;
background-color: transparent;
display: flex;
justify-content: space-between;
align-items: center;
}

.container-top-instagram {
background-image: url(/images/brand.png);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
width: 25vw;
height: 12vh;
margin-left: 10px;
}

.img-button, .img-button-text {
display: inline-block;
}

.img-button {
background-image: url(/images/home.png);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 1.75vw;
height: auto;
margin-right: 15px;
margin-bottom: 5px;
}

.container-top-button {
width: 9vw;
height: 5vh;
border: 3px solid #1c5380;
border-radius: 5px;
color: #CCDBE3;
font-weight: bold;
font-size: 1.6vw;
padding: 10px 10px 10px 10px;
background: #275f8e;
display: flex;
align-content: center;
margin-right: 1.5vw;
}

.img-phone {
background-image: url(/images/phones.png);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
display: flex;
width: 30vw;
height: auto;
height: 75vh;
display: inline-block;
}

.container-context-and-bottom {
display: flex;
flex-direction: column;
margin-top: -25px;
}

.container-content {
padding: 15px 0 0 55px;
background-image: url(/images/frame.png);
background-size: cover;
background-repeat: no-repeat;
width: 55vw;
height: 45vh;
box-sizing: border-box;
}

.container-bottom {
margin-top: 15px;
display: flex;
}

.container-bottom-apple, .container-bottom-android {
margin-left: 50px;
background-size: contain;
background-repeat: no-repeat;
background-position: top;
}

.container-bottom-apple {
background-image: url(/images/badge-iphone.png);
width: 24vh;
height: auto;

}

.container-bottom-android {
background-image: url(/images/badge-android.png);
width: 12vw;
height: 25vh;

}

.footer-item {
margin-left: 20px;
}