-
-
Save codecademydev/f20da3b4b9969859b8e4 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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>Contact</li> | |
<li>Gallery</li> | |
</ul> | |
</div> | |
</div> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-4"> | |
<img class="img-responsive" src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p1.jpg"/> | |
</div> | |
<div class="col-md-4"> | |
<img class="img-responsive" src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p2.jpg"/> | |
</div> | |
<div class="col-md-4"> | |
<img class="img-responsive" src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p3.jpg"/> | |
</div> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="col-md-4"> | |
<img class="img-responsive" src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p4.jpg"/> | |
</div> | |
<div class="col-md-4"> | |
<img class="img-responsive" src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p5.jpg"/> | |
</div> | |
<div class="col-md-4"> | |
<img class="img-responsive" src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p6.jpg"/> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body { | |
background-color: #cccdce; | |
font-family: 'Montserrat', sans-serif; | |
margin: 0; | |
padding: 0; | |
} | |
.header { | |
background-color: #fff; | |
height: 140px; | |
text-align: center; | |
} | |
.header h1 { | |
color: #31363d; | |
font-size: 32px; | |
margin: 0; | |
text-transform:uppercase; | |
position:relative; | |
padding-bottom:10px; | |
top:40px; | |
} | |
.nav ul { | |
margin: 0 0 30px; | |
text-align: center; | |
height:50px; | |
list-style-type:none; | |
padding:20px 0px; | |
} | |
.nav li { | |
-webkit-transition:color 0.25s; | |
transition:color 0.25s; | |
display:inline; | |
padding: 0px 20px; | |
color:white; | |
} | |
.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