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
67 changes: 62 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,69 @@
<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
<header>
<nav class="navbar">
<img id="insta-logo" src="./images/brand.png" alt="instagram-logo" />
<button id="login-btn">
<img id="home-icon" src="./images/home.png" alt="home-icon" />
Log in
</button>
</nav>
</header>

<main>
<div class="phone-container">
<img
id="phones"
src="./images/phones.png"
alt="two smartphones on top of each other"
/>
</div>

<div class="main-article-shadow"></div>
<article class="main-article">
<div class="content">
<h3>Capture and Share <br> the World's Moments</h3>
<p>
Instagram is a <b>fast</b>, <b>beautiful</b> and <b>fun</b> way to
share your life with friends and family.
</p>
<p>
Take a picture or video, choose a filter to transform its look
<br />
and feel, then post to Instagram &mdash; it's that easy. You can
<br />
even share to Facebook, Twitter, Tumblr and more. It's a <br />
new way to see the world.
</p>
<p>Oh yeah, did we mention it's free?</p>
<div class="store-logos">
<img src="./images/badge-iphone.png" alt="Apple App Store logo" />
<img
src="./images/badge-android.png"
alt="Google Play Store logo"
/>
</div>
</div>
</article>
</main>

<footer>
<ul>
<li>About Us</li>
<li>Support</li>
<li>Blog</li>
<li>Press</li>
<li>API</li>
<li>Jobs</li>
<li>Privacy</li>
<li>Terms</li>
<li id="copyright">&copy; 2014 Instagram</li>
</ul>
</footer>

</body>
</html>
141 changes: 140 additions & 1 deletion styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,145 @@ light blue: #1c5380
*/

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

}

header {
display: flex;
justify-content: flex-end;
width: 100%;
background-image: url("../images/bgtile.png");
height:300px;
position: absolute;
}


.navbar {
width: 50%;
display: flex;
justify-content: flex-start;
align-items: center;
padding-top: 30px;
padding-right: 28px;
}

#insta-logo {
margin-right: 120px;
}

#home-icon {
vertical-align: bottom;
}

#login-btn {
display: flex;
justify-content: space-around;
align-items: center;
background: linear-gradient(#72A0C1, #4682B4);
color: white;
font-size: 1em;
font-weight: bold;
height: 40px;
width: 100px;
border: 1px solid #1c5380;
font-size: 0.8em;
}

.phone-container {
position: relative;
float: left;
top: 110px;
left: 340px;
}

#phones {
width: 320px;
}

main {
height: 650px;
margin-bottom:25px;
}
.main-article {
position: relative;
width: 90%;
}

.content h3 {
color: #06365f;
font-size: 1.5em;
margin-bottom: 10px;
margin-top: 0
}

.content p {
margin-bottom: 0;
}

.content {

width: 480px;
position: relative;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: flex-start;
padding: 15px;
padding-left: 30px;
padding-bottom: 0;
border: 1px solid white;
border-radius: 1%;
background-color: white;
left: 420px;
top: 240px
}

.main-article-shadow {
width: 525px;
height: 140px;
position: absolute;
padding: 0;
margin: 0;
top: 293px;
left: 741px;
box-shadow: 1px 0 15px -4px rgba(31, 73, 125, 0.8), -2px 0 8px -4px rgba(31, 73, 125, 0.8);
}


.store-logos {
display: flex;
justify-content: flex-start;
gap: 20px;
padding-top: 30px;
}


footer {
display: flex;
justify-content: center;
}

footer ul {
display: flex;
justify-content: space-between;
width: 40%;

}

footer ul li {
list-style: none;
color: #1c5380;
font-weight: bold;
font-size: 0.8em;
text-transform: uppercase;
}

#copyright {
color: #C0C0C0;
font-weight:normal;
}