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 lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  
	<title>Superman</title>
	<!-- Bootstrap -->
	<link href="css/bootstrap.min.css" rel="stylesheet">
	<link href="css/styles.css" rel="stylesheet">
	<link href="https://fonts.googleapis.com/css?family=Orbitron" rel="stylesheet">

</head>

<body>

<div class="container-fluid">

<!-- NAVBAR -->
	<nav class="navbar navbar-default">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar1" aria-expanded="false">
				<span class="sr-only">Toggle navigation</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="#home-page"><img src="http://www.bleachercreatures.com/media/catalog/product//m/a/manofsteellogo.png" height="30px"></a>
		</div><!-- .navbar-header -->
		<div class="collapse navbar-collapse" id="navbar1">
			<ul class="nav navbar-nav">
				<li class="active"><a href="#home-page">Home <span class="sr-only">(current)</span></a></li>
				<li><a href="#">Page 2</a></li>

				<li><a href="#">page 3</a></li>

				<li><a href="#">Page 4</a></li>


				</div><!-- .row -->
			</ul>
		</div>
	</nav>

<!-- JUMBOTRON -->
	<div id="home-page" class="jumbotron">
		<div class="row">
			<div class="col-xs-12">
				<h1 id="home-page" style="color: blue" class="text-center">Superman</h1>
				<h2 class="text-center">
					<em>The man who saved the world!</em>
				</h2>
				<div class="thumbnail">

					<img id="superman-img" class="text-center" src="http://static.srcdn.com/wp-content/uploads/Superman-3D-Art.jpg" alt="Superman Flying">
					<p id="text-on-img">The great superhero!</p>
					<p class="caption text-center">"For decades, Superman has stood as the most iconic comic book superhero. People around the world recognize his signature “S” and it stands beside some of the most patriotic symbols America has. Superman has made his mark in comics by being a living embodiment of morality, truth, and justice."</p>
						<p id="cite"><cite>- C Haney</cite></p>
				</div><!-- .thumbnail -->
				<div id="container2" class="container-fluid">
				<h3>Time Line</h3>
					<p>Here is a timeline of Superman</p>
					<ul>
						<li>1234</li>
							<ol>
								<li>1234</li>
								<li>5678</li>
							</ol>
						<li>5678</li>
					</ul>
				</div><!-- .container2 -->
        <div id="back-top-btn"><a href="#home-page"><button type="button" class="btn btn-default btn-lg">
  <span class="glyphicon glyphicon-chevron-up" aria-hidden="true"></span>
</button></a></div>
        
			</div><!-- .col-xs-12 -->
		</div><!-- .row -->
		<em><footer class="text-center">If you want to know more, click <span class="btn btn-default" id="btn-here"><a href="https://en.wikipedia.org/wiki/Superman" target="_blank">here (Wiki)</a></span></footer></em>
	</div><!-- .jumbotron -->
</div><!-- .container -->


<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
  <!-- Include all compiled plugins (below), or include individual files as needed -->
  <script src="js/bootstrap.min.js"></script>
</body>


              
            
!

CSS

              
                body {
	font-family: 'Orbitron', sans-serif;
	color: white;
}

.jumbotron {
	background-color: #800000;
	margin-left: 15px;
	margin-right: 15px;
	border-radius: 5px;
}
.jumbotron p {
	padding-left: 15px;
	font-size: 1.2em;
	color: #800000;
}
.jumbotron .thumbnail { /* Thumbnail container */
	margin-left: 15px;
	margin-right: 15px;
}
#superman-img {
	position: relative;
}
#text-on-img {
	color: black;
	background-color: white;
	padding-right: 15px;
	opacity: .6;
	font-size: 2em;
	position: absolute;
	top: 400px;
}

.jumbotron h3 { /* Time Line */
	padding-left: 15px;
}

.thumbnail .caption {
	color: blue;
	font-size: 1em;
}

ul {
	color: grey;
}

#btn-here {
	font-size: 1em;
}

#container2 { /* Time Line container */
	background-color: white;
	padding: 4px;
	margin-top: -10px;
	position: relative;
	border-radius: 5px;
	margin-right: 15px;
	margin-left: 15px;
}
#container2 h3 { /* text-"Time Line" */
	color: blue;
}

#cite {
	font-size: .7em;
	text-align: right;
	padding-right: 10px;
}

#logo {
	padding-bottom: 2px;
	margin-top: -15px;
	margin-left: -25px;
}

footer {
	margin-top: 50px;
	font-size: 1em;
}

#back-top-btn {
	color: white;
	margin-top: 10px;
	margin-right: 15px;
	text-align: right;
	color: blue;
}

              
            
!

JS

              
                
              
            
!
999px

Console