Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                
	<!-- Jumbo -->
	<div class="jumbotron text-center">
		<h1>Biscuit <small>2009-2014</small></h1>
		<h2>Beloved dog, friend, and family member.</h2>
	</div>

  <img class="img-responsive"
    alt="Photo of a red merle Australian Shepherd, staring at a dirty tennis ball."
    src="https://s31.postimg.org/cda4yprx7/biscuit.jpg"
  />

	<div class="bg-success top-border panel-body">
		<h3 class="text-center">His time with us</h3>
		<article class="panel-body text-justify container">
			<p>
				Biscuit came to us from relatives in Florida who could no longer take care
				of him. Fortunately, he was being introduced to more room and more
				attention. The family that let us adopt him had trained him well, Biscuit
				knew a few tricks and was mostly obedient, on top of having a mild
				character. He quickly became accustomed to his new home, spent many
				happy years with us and made many great memories.
			</p>

			<p>
				That silly, fun loving dog taught us to enjoy the simple things.
				Things like: hopping through snow, jumping into water sprays, playing
				soccer, laying in the grass, belly rubs, yodeling. Biscuit was
				always up for anything, except when it got too hot, but give him a
				break he's got a coat on.
			</p>
      <br/>
			<p class="text-center"><i class="fa fa-paw"></i> &nbsp;
				<i class="fa fa-paw"></i> &nbsp; <i class="fa fa-paw"></i></p>
      <br/>
			<p>
				Biscuit was given a lethal injection after severe injuries from being run
				over by a delivery truck. The driver was not at fault.
				He had gotten into the bad habit of chasing and barking at passing cars.
			</p>
		</article>
	</div>

	<!-- WIKIPEDIA INFO -->
	<div class="bg-info top-border panel-body">
		<h3 class="text-center">On Australian Shepherds</h3>
		<article class="panel-body quote-bar text-justify container">
			<p>
				The Australian Shepherd is a medium-sized breed of dog that was
				developed on the ranches in the Western United States. Despite its
				name, the breed was not developed in Australia, but rather in the
				United States, where they were seen in the West as early as the 1800s.
				The breed rose gradually in popularity with the boom of Western riding
				after World War II. They became known to the general public through
				rodeos, horse shows, and Disney movies made for television.
			</p>

			<ul>
				<li>
					Red merle (a mottled patchwork of cream and liver red) with or
					without tan points or white markings on the face, collar, legs,
					chest, underbelly - neither white nor tan points are required. Solid
					merle dogs are equally desirable as ones with tan or white.
				</li>
			</ul>

			<div class="bits text-right">More on
				<a href="https://en.wikipedia.org/wiki/Australian_Shepherd"
					target="_blank">Wikipedia</a>
			</div>
		</article>
	</div>

	<footer class="panel-footer top-border bits text-center">
		Made with ♥︎ in Connecticut.<br>
    Copyright © 2016 <a href="https://www.twitter.com/@carlosvixil">Carlos Vigil</a>.
  </footer>



              
            
!

CSS

              
                // Palette
$light: hsl(41, 7%, 89%);
$main-brown: hsl(34, 17%, 40%);
$libro: hsl(42, 28%, 71%);
$mellow: hsl(45, 14%, 53%);
$dabro: hsl(36, 21%, 29%);
$dark: hsl(24, 22%, 18%);

// La Mode
html, body {
  height: 100%;
  width: 100%;
  font: 1em serif;
  color: $light;
  background-color: $main-brown;
}

h1 {
  font-family: Merriweather;
}

h2, h3 {
  color: $libro;
  font-family: Merriweather;
}

h1 small {
  color: $mellow;
}

p, li {
  font-size: 122.9918693786%;
}
    
.jumbotron {
  margin-bottom: 0px;
  background-color: $dabro;
}

.bg-success {
  background-color: $main-brown;
}

.bg-info {
  background-color: $dark;
}

.panel-footer {
  background-color: $dabro;
  color: $mellow;
}

.top-border {
  border-top: 1px $main-brown;
}

img {
  margin: auto;
}

.quote-bar {
  border-left: 4px solid $mellow;
}

              
            
!

JS

              
                
              
            
!
999px

Console