Skip to content
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

lab-css-site-replication #1

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
Binary file added starter-code/.DS_Store
Binary file not shown.
39 changes: 38 additions & 1 deletion starter-code/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,42 @@ light blue: #1c5380

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

header {
height: 291px;
width: 920px;
background-color: #06365f;
}

nav {
text-align: center;
color: #1c5380;
clear: both;
}

header img {
margin-top: 177px;
margin-right: 240px;
float: right;
}

.phone {
background-size: 454px 618px;
float: left;
position: absolute;
top: 100px;
margin-left: 20px;
}

div {
float: right;
position: relative;
display: inline-block;
line-height: 20px;
height: 400px;
width: 400px

}

50 changes: 31 additions & 19 deletions starter-code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,42 @@
<html lang="en">
<head>
<title>Instagram</title>
<link rel="stylesheet" type="text/css" href="css/main.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.
<body>

<header>
<img src="images/brand.png">
</header>

Oh yeah, did we mention it's free?
<div class="phone">
<img src="images/phones.png">
</div>

Download on the App Store
Get it on Google Play
<section>
<div>
<p><strong>Capture and Share the World's Moments</strong></h2>
<article>
<p>Instagram is a <strong>fast</strong>, <strong>beautiful</strong> and <strong>fun</strong> way to share your life with friends and family.
<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>
<img src="images/badge-iphone.png"> <img src="images/badge-android.png">
</article>
</div>
</section>

About Us
Support
Blog
Press
API
Jobs
Privacy
Terms
<section>
<nav>
About Us
Press
API
Jobs
Privacy
Terms
&copy; 2014 Instagram
</nav>
</section>

&copy; 2014 Instagram
</body>
</html>