cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <header>
  <div><br /></div>
  <div>
    <h1>Queen</h1></div>
  <div>
    <h3>(IMHO) The greatest rock band ever!</h3>
    <h6>If you doubt it... check out 
      <a href="https://www.youtube.com/watch?v=A22oy8dFjqc">
        Live Aid (1985)</a></h6>
    <h3>Years Active: 1970 - Today!</h3>
  </div>
  <figure class="figure">
    <img src="http://static.queenonline.com.s3.amazonaws.com/cms_page_media/134755071550336/original_resize_720_360.jpg" alt="Queen Members" class="figure-img rounded">
    <figcaption class="figure-caption">The band publicity shot from queenonline.com
    </figcaption>
  </figure>
</header>
<main>
  <br />
  <div>
    <h3>Here is a list of 20 of their most bombastic hits!</h3>
    <h6>
      <a href="http://radio.com/2014/11/21/every-queen-song-ranked/" target="_blank">As listed by radio.com's Every Queen Song, Ranked.</a>
    </h6>
  </div>
  <div class="containter">
    <div class="row">
      <div class="col-md-2"></div>
      <div class="col-md-7">
        <ol>
          <li>
            <strong>Bohemian Rhapsody</strong>
            <em>(A Night At the Opera, 1975)</em>
          </li>
          <li>
            <strong>Crazy Little Thing Called Love</strong>
            <em>(The Game, 1980)</em>
          </li>
          <li>
            <strong>Under Pressure</strong>
            <em>(Hot Space, 1982)</em>
          </li>
          <li>
            <strong>You're My Best Friend</strong>
            <em>(A Night At the Opera, 1975)</em>
          </li>
          <li>
            <strong>Another One Bites The Dust</strong>
            <em>(The Game, 1980)</em>
          </li>
          <li>
            <strong>Tie Your Mother Down</strong>
            <em>(A Day At The Races, 1976)</em>
          </li>
          <li>
            <strong>Killer Queen</strong>
            <em>(Sheer Heart Attack, 1974)</em>
          </li>
          <li>
            <strong>Somebody To Love</strong>
            <em>(A Day At The Races, 1976)</em>
          </li>
          <li>
            <strong>The Show Must Go On</strong>
            <em>(Innuendo, 1991)</em>
          </li>
          <li>
            <strong>We Will Rock You</strong>
            <em>(News of the World, 1977)</em>
          </li>
          <li>
            <strong>One Vision</strong>
            <em>(A Kind of Magic, 1986)</em>
          </li>
          <li>
            <strong>Don't Stop Me Now</strong>
            <em>(Jazz, 1978)</em>
          </li>
          <li>
            <strong>We Are The Champions</strong>
            <em>(News of the World, 1977)</em>
          </li>
          <li>
            <strong>I’m In Love With My Car</strong>
            <em>(A Night at the Opera, 1975)</em>
          </li>
          <li>
            <strong>Fat Bottomed Girls</strong>
            <em>(Jazz, 1978)</em>
          </li>
          <li>
            <strong>The Hero</strong>
            <em>(Flash Gordon soundtrack, 1980)</em>
          </li>
          <li>
            <strong>I Want To Break Free</strong>
            <em>(The Works, 1984)</em>
          </li>
          <li>
            <strong>Who Wants To Live Forever?</strong>
            <em>(A Kind of Magic, 1986)</em>
          </li>
          <li>
            <strong>Spread Your Wings</strong>
            <em>(News of the World, 1977)</em>
          </li>
          <li>
            <strong>Stone Cold Crazy</strong>
            <em>(Sheer Heart Attack, 1974)</em>
          </li>
        </ol>
      </div>
      <div class="col-md-3"></div>
    </div>
  </div>
  <div>See the whole list (all 167 songs) at <a href="http://radio.com/2014/11/21/every-queen-song-ranked/" target="_blank">radio.com</a>
  </div>
  <div>You can also get more information at <a href="http://www.queenonline.com" target="_blank">queenonline.com</a> as well as their <a href="https://en.wikipedia.org/wiki/Queen_(band)" target="_blank">Wikipedia</a> page.
  </div>
</main>
<footer>
  <br />
  <div>
    This page was created as a tribute to my favorite band! It was also an exercise assignment (#119) for <a href="https://www.freecodecamp.com/">freeCodeCamp</a>.  I am MusicalCoder, and I blog about my love of Linux, Coding, and Music at <a href="https://musicalcoder.com" target="_blank">Musings and Snippets</a>.
  </div>
</footer>
            
          
!
            
              body {
  background: url("https://goodlogo.com/images/logos/queen_logo_3009.gif");
  background-size: 125px 125px;
  background-repeat: repeat;
  font-family: 'Palatino Linotype', Platino, serif;
  content-align: center;
  text-align: center;
  margin: auto;
  margin-top: 20px;
  max-width: 800px;
  color: white;
}

header {
  background-color: black;
}

header img {
  max-width: 80%;
}

main {
  background-color: indigo;
  color: pink;
}

a:visited {
  color: pink;
}

ol {
  text-align: left;
}

footer {
  background-color: black;
  color: pink;
  font-size: .8em;
}

            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console