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.

              <link href='https://fonts.googleapis.com/css?family=Roboto:400,100,300,500' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">

  <section><h1>I <i class="fa fa-heart"></i> Barcelona<br><span>Why go anywhere else?</span></h1></section>
  background: url('https://unsplash.it/1280/?image=88') no-repeat;
  background-size: cover;
	background-position: center; /*Thanks to Michael Richins for suggesting this fix*/
  width: 100%;
  height: 100vh;
  padding: 32px;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;

  display: table;
  width: 100%;
  height: 100%;
  border: solid 1px #fff;
  background: rgba(255,255,255,0.2);

  padding: 0;
  margin: 0;
  color: #fff;
  font-weight: 100;
  font-size: 4em;
  text-align: center;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
  display: table-cell; 
  vertical-align: middle; 
  line-height: 0.2em;
  text-transform: uppercase;

  padding: 0 10px;
  font-size: 0.2em;
  font-weight: 300;
  letter-spacing: 0.5em;
  background: #fff;
  color: #555;
  text-transform: uppercase;
	text-shadow: none;

  background: linear-gradient(90deg, #DC143C 50%, #C61236 51%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
Loading ..................