Skip to content

instagram clone done #2843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
56 changes: 51 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,60 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./styles/style.css" />
<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
<section class="content">
<div class="img-box">
<img src="./images/phones.png" alt="" />
</div>
<aside class="content-right">
<div class="content-right-top">
<img src="./images/brand.png" alt="logo" />
<button><img src="./images/home.png" alt="icon" />Log in</button>
</div>

<article>
<h2>Instagram Capture and Share the World's Moments</h2>
<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>
</article>
<div class="links">
<a href="#"
><img
src="./images/badge-iphone.png"
alt="Download on the App Store"
/></a>
<a href="#"
><img src="./images/badge-android.png" alt="Get it on Google Play"
/></a>
</div>
</aside>
</section>

<footer>
<ul>
<li><a href="#">About Us</a></li>
<li><a href="#">Support</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Press</a></li>
<li><a href="#">API</a></li>
<li><a href="#">Jobs</a></li>
<li><a href="#">Privacy</a></li>
<li><a href="#">Terms</a></li>
<li>&copy; 2014 Instagram</li>
</ul>
</footer>
</body>
</html>
95 changes: 95 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,103 @@ Colors to use:
dark blue: #06365f
light blue: #1c5380
*/
* {
margin: 0;
padding: 0;
}

body {
font: 200 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
background: linear-gradient(rgba(28, 83, 128, 0.68), #1c5380) no-repeat;
background-size: 100% 30%;
}

ul {
list-style: none;
}

li,
a {
text-decoration: none;
}

.content {
margin: 100px auto;
width: 800px;
display: flex;
justify-content: center;
gap: 40px;
}

.content-right-top {
display: flex;
align-items: center;
justify-content: space-between;
height: 110px;
padding: 5px 0;
}

.content-right-top button {
background: linear-gradient(
rgba(28, 83, 128, 0.314),
rgba(28, 83, 128, 0.597)
)
no-repeat;
background-size: cover;
height: 40px;
width: 90px;
color: #fff;
font-size: 400;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
box-shadow: 2px 2px 2px #06365f;
border: none;
cursor: pointer;
transition: all 0.3s;
}

.content-right-top button:hover {
box-shadow: none;
}

article {
background: url(../images/frame.png);
background-size: cover;
padding: 18px;
}

h2 {
color: #06365f;
margin: 10px 20px;
}

article p {
margin: 0 15px 10px 15px;
}

.links {
display: flex;
align-items: center;
gap: 40px;
padding-left: 30px;
}

footer ul {
display: flex;
align-items: center;
justify-content: center;
gap: 20px;
}

footer ul a {
color: #1c5380;
font-weight: 500;
}

footer ul li:last-child {
color: #aaa;
font-size: 14px;
}