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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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

              
                <body>
	<div class="container-fluid">
		<div class="jumbotron-fluid card-shadow" style="background-color: white">
			<div class="row">
				<div class="col-xs-8 col-xs-offset-2">
					<h1 class="text-center" id="title">Christopher J. McCandless</h1>
				</div>
			</div>
			<div class="row">
				<div class="col-xs-8 col-xs-offset-2">
					<div class="thumbnail">
						<img src="http://www.jeffhead.com/images/ITW-07.jpg" class="full-width" id="picture-main">
						<div class="caption text-center">
							<h3><em>Christopher McCandless standing in the Alaskan Wild</em></h3>
						</div>
					</div>
				</div>
			</div>
			<br>
			<br>
			<div id="content">
				<h2 class="text-center">Who is Alexander Supertramp?</h2>
				<div class="col-xs-8 col-xs-offset-2">
					<p>
						Christopher J. McCandless was an American hiker and itinerant traveler, who also went by the name "Alexander Supertramp". After graduating from college in 1990, McCandless traveled the United States, and eventually hitchhiked to Alaska in April 1992.There,
						he set out along an old mining road known as the Stampede Trail, with minimal supplies, hoping to live simply off the land. Almost four months later, McCandless' decomposing body, weighing only 30 kilograms (66 lb), was found by hunters in a converted
						bus used as a backcountry shelter along the Stampede Trail, on the eastern bank of the Sushana River. His cause of death was officially ruled to be starvation, although the exact cause remains the subject of some debate.
					</p>
				</div>
				<br>
				<br>
				<div class="row">
					<div class="col-xs-4 col-xs-offset-4">
						<a href="https://en.wikipedia.org/wiki/Christopher_McCandless"><button class="btn btn-primary btn-block card-shadow" id="learn-button"><span style="font-size: 20px">Learn More</span></button></a>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
              
            
!

CSS

              
                body {
	margin-top: -20px;
	margin-left: 70px;
	margin-right: 70px;
	margin-bottom: 10px;
	background-color: #78AB46;
}

#learn-button {
	margin-bottom: 20%;
	margin-top: 20%;
}

.card-shadow {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.full-width {
	width: 100%;
}

.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h1 {
	padding-top: 80px;
	padding-bottom: 30px;
	font-size: 4vw;
}

h2 {
	padding: 2%;
	font-size: 2.8vw;
}

h3 {
	font-size: 15px;
	font-family: "Times New Roman", Times, Serif;
}
              
            
!

JS

              
                
              
            
!
999px

Console