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 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.

Quick-add: + add another resource

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.

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.

              <section class="textoverpic">
  <h1>Come To Iceland</h1>

  <h1>The last settled part of Europe, much of Iceland remains pristine and untouched.</h1>

<section class="pop">
  <h1>Population: 325,671</h1>
  <h1>Area: 103,001km<sup>2</sup></h1>
  <h1>= 3 people per square km</h1>

  <h1>With abundant geothermal energy, Iceland is also one of the greenest places on earth.</h1>

  <h1>Come to Iceland. You’ll be amazed.</h1>
              @font-face {
  font-family: Edelsans;
  src: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/edelsans_regular-webfont.woff);
body { 
  margin: 0;
  font-family: Edelsans, Avenir, sans-serif;
section { 
  height: 100vh; 
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center; 
  flex-direction: column;
  padding: 2vw;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-size: 4vw; 
section:first-of-type { 
  text-transform: uppercase;
  font-size: 7vw;
section:first-of-type, section.pop { 
  color: #fff;
  text-shadow: 0 0 5px rgba(0,0,0,0.4); 
section:nth-of-type(even) { 
  background: #fff;
section:nth-of-type(1) { 
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/iceland-fjords.jpg); 
section:nth-of-type(3) { 
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/iceland-pool-faces.jpg); 
section:nth-of-type(5) { 
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/iceland-ice.jpg); 

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