Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created December 25, 2015 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/50ffd6e900b19438d737 to your computer and use it in GitHub Desktop.
Save codecademydev/50ffd6e900b19438d737 to your computer and use it in GitHub Desktop.
Codecademy export
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://s3.amazonaws.com/codecademy-content/projects/bootstrap.min.css">
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
<link href='style.css' rel='stylesheet' type='text/css'>
</head>
<body>
<div class="header">
<h1>Red Eye Photography</h1>
</div>
<div class="nav">
<div class="container">
<ul>
<li>Home</li>
<li>About</li>
<li>Gallery</li>
<li>Contact</li>
</ul>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-3">
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p1.jpg" class="img-responsive" />
</div>
<div class="col-md-3">
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p2.jpg" class="img-responsive" />
</div>
<div class="col-md-3">
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p3.jpg" class="img-responsive" />
</div>
</div>
<div class="row">
<div class="col-md=3">
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p4.jpg" class="img-responsive" />
</div>
<div class="col-md-3">
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p5.jpg" class="img-responsive" />
</div>
<div class="col-md-3">
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p6.jpg" class="img-responsive" />
</div>
</div>
</div>
</body>
</html>
html, body {
background-color: #cccdce;
font-family: 'Montserrat', sans-serif;
margin: 0;
padding: 0;
}
.header {
background-color: #fff;
height: 140px;
text-align: center;
padding-top: 45px;
}
.header h1 {
color: #31363d;
font-size: 32px;
margin: 0 auto;
position: relative;
text-transform: uppercase;
}
.nav ul {
margin: 0 0 30px;
text-align: center;
padding: 20px 0;
}
.nav li {
-webkit-transition:color 0.25s;
transition:color 0.25s;
text-transform: uppercase;
padding: 10px 10px 10px 10px;
display: inline;
color: #ffffff;
font-size: 13px;
margin: 3px;
}
.nav li:hover {
color: #31363d;
cursor: pointer;
-webkit-transition: color 1s;
transition: color 1s;
}
.row {
margin-top: 30px;
}
@media (max-width: 500px) {
.row {
margin-top: 0;
}
.img-responsive {
margin-bottom: 20px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment