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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
62 changes: 56 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,63 @@
<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
<main>
<section id="section-phones">
<div>
<img src="./images/phones.png" alt="Phones with instagram" />
</div>
</section>
<section id="section-content">
<header>
<div id="logo-container">
<img src="./images/brand.png" alt="Instagram logo" />
</div>
<button id="button-login">
<img src="./images/home.png" alt="Home icon" />
<p>Log in</p>
</button>
</header>
<div id="article-container">
<article>
<h1>Capture and Share the World's Moments</h1>
<p>
Instagram is a fast, beautiful 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 &mdash; 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 id="download-buttons">
<div>
<img src="./images/badge-iphone.png" alt="Download on iPhone" />
</div>
<div>
<img src="./images/badge-android.png" alt="Download on Android" />
</div>
</div>
</article>
</div>
</section>
</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>
</ul>
<p>&copy; 2014 Instagram</p>
</footer>
</body>
</html>
105 changes: 105 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,108 @@ body {
font: 200 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
}

main {
display: flex;
justify-content: center;
background: url("../images/bgtile.png") repeat-x;
gap: 25px;

section {
margin: 5% 0 0 0;
}

#section-phones {
padding: 10px;
margin-left: 200px;
}

#section-content {
margin-right: 200px;
padding: 20px;
width: 100%;

header {
display: flex;
justify-content: space-between;
align-items: center;
margin: 20px 0;

#button-login {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
padding: 1px 10px;

background-image: linear-gradient(
to top,
rgb(79, 130, 168),
rgb(141, 173, 198)
);
color: white;
border: solid 1px #06365f;
border-radius: 2px;
box-shadow: #1c5380 1px 1px 3px 1px;

img {
height: 17px;
}
}
}

#article-container {
margin: 0;
padding: 0;
/* height: 500px; */
width: 100%;
background-image: url("../images/frame.png");
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: -6px -6px;

article {
margin-right: 10px;
padding: 10px 50px;
h1 {
color: #06365f;
font-size: 1.5em;
width: 55%;
}

#download-buttons {
display: flex;
justify-content: center;
margin-right: 100px;

img {
height: 50px;
margin: 0 10px;
}
}
}
}
}
}

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

color: #1c5380;
font-size: 0.8em;
font-weight: 800;
text-transform: uppercase;

ul {
display: flex;
justify-content: space-around;
width: 50%;
padding: 0px 20px;
list-style: none;
}

p {
color: #b1b1b2;
}
}