cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-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.

            
              <div class="container">
  <div class="main">
    <h1>Dean Windass</h1>
    <p><em>The legend who hit the winning goal to take Hull City AFC to the Premier League for the first time in their history</em></p>
    <img src="https://i.guim.co.uk/img/static/sys-images/Sport/Pix/pictures/2009/6/2/1243938021120/Dean-Windass-001.jpg?w=1200&q=85&auto=format&sharp=10&s=4558d4c9f0c568ac5cddbd237efbdaf1"alt="Dean Windass celebrates play-off final goal"/>
    <h2>Here's a timeline of Dean Windass highlights</h2>
    <ul class="Deano">
      <li><strong>1969</strong> - Born in Kingston-Upon-Hull</li>
      <li><strong>1990</strong> - First appearance for North Ferriby United.  Also packed frozen peas.</li>
      <li><strong>1991</strong> - First appearance for Hull City AFC</li>
      <li><strong>1993</strong> - Married</li>
      <li><strong>1995</strong> - First appearance For Aberdeen</li>
      <li><strong>1997</strong> - Shown three red cards in one game</li>
      <li><strong>1998</strong> - First appearance For Oxford United</li>
      <li><strong>2001</strong> - First appearance for Bradford City</li>
      <li><strong>1999</strong> - Promoted to Premier League with Bradford City</li>
      <li><strong>2001</strong> - First appearance for Middlesborough</li>
      <li><strong>2003</strong> - First appearance for Sheffield United</li>
      <li><strong>2003</strong> - Returns to Bradford City</li>
      <li><strong>2004/05</strong> - Highest scoring player in football league</li>
      <li><strong>2005</strong> - Voted 4th best Hull City AFC player ever</li>
      <li><strong>2007</strong> - Returns to Hull City AFC</li>
      <li><strong>2007</strong> - Autobiography published</li>
      <li><strong>2007</strong> - Scored the winning goal to take Hull City AFC into the Premier League for the first time ever</li>
      <li><strong>2008</strong> - Punched Marlon King in a casino in Scarborough</li>
      <li><strong>2009</strong> - Retired from playing football</li>
      <li><strong>2012</strong> - Attempted suicide having battled alcoholism and depression</li>
      <li><strong>2015</strong> - Appointed Hull City AFC club ambassador</li>
      <br>
      <p>You can read more at <a href="https://en.wikipedia.org/wiki/Dean_Windass">Wikipedia</a></p>
      <p class="footer"><em>Written & coded by James Winfield</em></p>
  </div>  
</div>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Ubuntu);

body {
  font-size: 14px;
  font-family: Ubuntu;
}

.main {
  background-color: #FFC200;
  height: 100%;
  text-align: center;
}

h1 {
  font-size: 6.5vw;
  text-transform: uppercase;
}

p {
  font-size: calc(1.1vw + 10px);
}

img {
  max-width: 90%;
  padding-top: 1.5vw;
  padding-bottom: 2vw;
}

ul {
  list-style-position: inside;
  padding-left: 12vw;
  padding-right: 12vw;
  text-align: left;
}

.footer {
  font-size: calc(0.7vw +10px);
}
            
          
!
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