Pen Settings



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


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


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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.


  <link rel="stylesheet" type="text/css" href="">
  <title>The Haunted Mansion </title>
<body align="center">
  <div id="main">
    <div class="container-fluid">
      <div class="row">
        <div class="col-md-12">
  <h1 class="header-text">The Haunted Mansion</h1>
  <h2 class="header2-text"> Welcome Foolish Mortals </h2>
  <img src="" alt="The Haunted Mansion" style="width:50%;height:50%;">
          <div class="row">
        <div class="col-md-12">
  <p class="p1"><strong>The Haunted Mansion</strong> is a dark ride attraction located at Disneyland, Magic Kingdom and Tokyo Disneyland. The attraction, although differing slightly in every location, places riders inside a haunted manor resided by "999 happy haunts".

The Haunted Mansion features a ride-through tour in Omnimover vehicles called "Doom Buggies", and a walk-through show is displayed to riders waiting in the line queue. The attraction utilizes a range of technology, from centuries-old theatrical effects to modern special effects featuring spectral Audio-Animatronics. The Haunted Mansion has inspired two similarly-themed attractions, Phantom Manor and Mystic Manor, which exist at Disneyland Paris and Hong Kong Disneyland, respectively. Wanna know more? <a href=""> Click Here </a></p>
          <div id="footer"></div>


                body {
    background-color: white;


@media only screen and (max-width: 500px) {
  #main { width: 50%; }

#main {
  margin: 0 auto 0 auto;
  width: 75%;
  max-width: 1200px;
  background-color: lightgrey;
.header-text {
color: purple;
font-family: Alfa Slab One, sans-serif;
margin-bottom: -25px;
character-spacing: 1.1;

.header2-text {
color: #404040;
font-family: Open Sans, sans-serif;
character-spacing: 1.1;

.p1 {
font-size: 18px;
line-height: 1.4;
margin-top: 20px;