Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <html>
<head>
	<link href="https://fonts.googleapis.com/css?family=Titillium+Web:400i" rel="stylesheet">
	<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:500" rel="stylesheet">
	<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
	<script>
	</script>
	<title></title>
</head>
<body>
	<div class="container-fluid">
		<div class="jumbotron container-fluid">
			<h1 class="bg-success text-center">Carl Sagan</h1>
			<h2 class="text-center"><em>The man who has inspired the next generation</em></h2>
			<div class="thumbnail">
				<div class="row">
					<div class="col-sm-8"><img class="img-responsive" src="https://i.ytimg.com/vi/0cuLW8_fw18/maxresdefault.jpg"></div>
					<div class="col-sm-4">
						<blockquote>
							<p class="quote">Somewhere, something incredible is waiting to be known.</p>
							<p class="quote">We are like butterflies who flutter for a day and think it is forever.</p>
							<p class="quote">For small creatures such as we the vastness is bearable only through love.</p>
							<p class="quote">We're made of star stuff. We are a way for the cosmos to know itself.</p>
							<footer>
								The golden words of inspiration
							</footer>
						</blockquote>
						<p></p><br>
						<blockquote>
							<h4>Mr Sagan's Top 5 Achievements</h4>
							<table class="table table-hover">
								<thead>
									<tr>
										<th>Event</th>
										<th>Type</th>
										<th>Year</th>
									</tr>
								</thead>
								<tbody>
									<tr id="tableFont">
										<td>Klumpke-Roberts Award</td>
										<td>Astronomy</td>
										<td>1974</td>
									</tr>
									<tr id="tableFont">
										<td>NASA Distinguished Service Medal</td>
										<td>Astronomy</td>
										<td>1977</td>
									</tr>
									<tr id="tableFont">
										<td>Pulitzer Prize for General Non-Fiction</td>
										<td>Writing</td>
										<td>1978</td>
									</tr>
									<tr id="tableFont">
										<td>WGA Award Television</td>
										<td>Social</td>
										<td>1991</td>
									</tr>
									<tr id="tableFont">
										<td>Public Welfare Medal</td>
										<td>Social</td>
										<td>1994</td>
									</tr>
								</tbody>
							</table>
						</blockquote>
					</div>
				</div>
			</div>
			<h4 class="text-center">Though truly a bigger than life character, the following achievements are linked to the awards that he has received:</h4>
			<div class="col-xs-12 col-sm-10 col-sm-offset-2 col-md-8 col-md-offset-3" id="achieve">
				<ul>
					<li><strong>1950</strong> Sagan started working as an advisor for NASA</li>
					<li><strong>1962</strong> Mariner 2 confired Sagan's views that venus was dry and very hot</li>
					<li><strong>1966</strong> Sagan publishes his first best-selling book "Intelligent Life in the Universe</li>
					<li><strong>1967</strong> Sagan and Pollack solved the mystery behind the seasonal "darkening" on Mars</li>
					<li><strong>1968</strong> Named director of Cornell's laboratory for Planetary Studies</li>
					<li><strong>1974</strong> With his help, the ARECIBO message has been sent to space</li>
					<li><strong>1980</strong> Carl Sagan's TV series Cosmos had started to air</li>
					<li><strong>1983</strong> He introduced the idea of a "Nuclear Winter"</li>
				</ul>
				<p class="bg-info" id="infoW">For more info visit <a href="https://en.wikipedia.org/wiki/Carl_Sagan" target="_blank">Wikipedia</a></p>
			</div>
		</div>
		<footer class="text-center">
			<p>Written and Coded by <a href="https://uk.linkedin.com/in/christian-josan-63921a59" target="_blank">Christian Josan</a></p>
		</footer>
	</div>
</body>
</html>
              
            
!

CSS

              
                .quote {
	font-family: 'Titillium Web', sans-serif;
	font-size: 20px;
	word-wrap: break-word;
}

#tableFont {
	font-family: 'Open Sans Condensed';
	font-size: 17px;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: #bed3ff;
}

#infoW {
	font-size: 20px;
	font-style: italic;
	text-align: right;
}

#achieve {
	font-family: 'Open Sans Condensed';
	font-size: 18px;
}
              
            
!

JS

              
                
              
            
!
999px

Console