A Pen by Timothy Samson on CodePen.
Created
August 13, 2016 02:09
-
-
Save FrostyPatronus/5c14ff6762d5f19c3a0157887f856ebc to your computer and use it in GitHub Desktop.
FreeCodeCamp
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
<div class="container-fluid"> | |
<div class="well text-center main" > | |
<div class="headline"> | |
<h1 class="text-warning"> | |
Alan Turing <br/> | |
</h1> | |
<h2> | |
<em> | |
"The man who made the modern world" | |
</em> | |
</h2> | |
</div> | |
<figure class="alan-turing-img center-block"> | |
<img src="http://media.gizmodo.co.uk/wp-content/uploads/2013/12/alan-turing.jpg" alt="Alan Turing"/> | |
<figcaption> | |
Alan Turing | |
</figcaption> | |
</figure> | |
</div> | |
</div> |
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
$(document).ready(function(){ | |
$(".headline").addClass("animated fadeInDown") | |
$("img").addClass("img-responsive") | |
$(".alan-turing-img").addClass("animated fadeInUp") | |
}) |
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
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script> |
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
body{ | |
margin-top: 2%; | |
} | |
$margin-sides: 10%; | |
.main { | |
margin-left: $margin-sides; | |
margin-right: $margin-sides; | |
} | |
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
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" /> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.1/animate.min.css" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment