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.

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.

HTML

            
              <header class="header">
  <div class="text-vertical-center">
    <h1 class="title">Fiona Apple</h1>
    <a href="#about">
      <span class="fa-stack fa-2x">
        <i class="fa fa-square-o fa-stack-2x"></i>
        <i class="fa fa-angle-double-down fa-stack-1x"></i>
      </span>
    </a>
  </div>
</header>

<div id="about" class="container">
  <div class="row">
     <h1 class="page-header">About</h1>
     <div class="col-md-8">
       <div>
         <p> <strong> Fiona Apple McAfee Maggart </strong> (born September 13, 1977) is an American singer-songwriter, pianist and record producer. Classically trained on piano as a child, Apple began composing her own songs when she was eight years old. Her debut album, Tidal, written when Apple was seventeen, was released in 1996 and received a Grammy Award for Best Female Rock Vocal Performance for the single "Criminal". She followed with When the Pawn... (1999), produced by Jon Brion, which was also critically and commercially successful and went certified platinum.</p>
         <p>For her third album, Extraordinary Machine (2005), Apple again collaborated with Brion, and began recording the album in 2002. However, Apple was reportedly unhappy with the production and opted not to release the record, leading fans to erroneously protest Epic Records, believing that the label was withholding its release. The album was eventually re-produced without Brion and released in October 2005 to critical acclaim. She released her fourth studio album, The Idler Wheel..., in 2012, which was followed by an extensive tour of the USA. The album received universal praise.</p>
         <p>To learn more about Fiona Apple, see her page at <a href="https://en.wikipedia.org/wiki/Fiona_Apple" target="_blank">Wikipedia</a></p>
       </div>
     </div>
     <div class="col-md-4">
       <img class="img-responsive" alt="Something went wrong" src="https://41.media.tumblr.com/2bfdfc155ee8e8c41563f905d5e64f48/tumblr_mrr7h4pz4b1sfap7mo1_500.jpg">
     </div>
  </div>
</div>

<div id="discography" class="container">
  <div class="row">
     <h1 class="page-header">Discography</h1>
     <div class="margin-bottom col-sm-6 col-md-3 text-center">
       <h4><strong>Tidal</strong></h4>
       <a href="https://en.wikipedia.org/wiki/Tidal_(album)" target="_blank"> <img class="album-photo img-responsive" src="https://images.rapgenius.com/30fad2282f419fc31007b5f3fb1cd884.953x953x1.jpg" alt="Can't load image" > </a>
     </div>
    <div class="margin-bottom col-xs-12 col-sm-6 col-md-3 text-center">
       <h4><strong>When the Pawn...</strong></h4>
       <a href="https://en.wikipedia.org/wiki/When_the_Pawn..." target="_blank"> <img class="album-photo img-responsive" src="https://images.rapgenius.com/411b769d88579cbfb01d79dcc29e935d.1000x1000x1.jpg" alt="Can't load image" > </a>
     </div>
    <div class="margin-bottom col-xs-12 col-sm-6 col-md-3 text-center">
       <h4><strong>Extraordinary Machine</strong></h4>
       <a href="https://en.wikipedia.org/wiki/Extraordinary_Machine" target="_blank"> <img class="album-photo img-responsive" src="https://upload.wikimedia.org/wikipedia/en/e/ed/Extraordinary_Machine.jpg" alt="Can't load image" > </a>
     </div>
    <div class="margin-bottom col-xs-12 col-sm-6 col-md-3 text-center">
       <h4><strong>The Idler Wheel...</strong></h4>
       <a href="https://en.wikipedia.org/wiki/The_Idler_Wheel..." target="_blank"> <img class="album-photo img-responsive" src="https://upload.wikimedia.org/wikipedia/en/7/7d/TheIdlerWheel....jpg" alt="Can't load image"> </a>
     </div>
  </div>
</div>

<br>

<footer>
  <div class="row">
    <div class="col-md-offset-4 col-md-4 text-center">
      <p>coded by <a target="_blank" href="https://github.com/carolinass">carolinass</a></p>
    </div>
  </div>
</footer>
            
          
!

CSS

            
              html, body {
    width: 100%;
    height: 100%;
    background-color: black;
}

h1, h4, p {
  color: #AAAAAA;
}

a, a:visited{
  color: white;
}

a:hover{
  color:gray;
}

.header {
    display: table;
    position: relative;
    width: 100%;
    height: 100%;
    background: url(https://fanart.tv/fanart/music/a9ee533f-8871-4f62-a6bb-91eb264abc90/artistbackground/apple-fiona-516f128b9b203.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.container {
  margin-top: 50px;
}

.title {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 5em;
  font-weight: bold;
}

.text-vertical-center {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.margin-bottom {
  margin-bottom: 30px;  
}

.album-photo {
  border: 1px solid black;
  border-radius: 2%;
}
            
          
!

JS

            
              $(document).ready(function(){
    $('a[href^="#"]').on('click', function (e) {
        e.preventDefault();
        $(document).off("scroll");
        var target = this.hash;
        var menu = target;
        $target = $(target);
        $('html, body').stop().animate({
            'scrollTop': $target.offset().top+2
        }, 500, 'swing', function () {
            window.location.hash = target;  
        });
    });
});
            
          
!
999px

Console