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.

              <div id="wrapper">
  <img id="cloud" src="cloud_mid.png" />
  <p id="text" contenteditable="true" spellcheck="false">ZEPPELIN</p>
  <p id="zeppelin"></p>
              @import url(https://fonts.googleapis.com/css?family=Droid+Sans:bold);

/* Global ------------------------------------------------------ */

html {
  font: 62.5%/1 "Lucida Sans Unicode","Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
  background-color: #cfd6da;
  background: url(https://s.cdpn.io/79/cloud_tl.png) no-repeat fixed left top,
    url(https://s.cdpn.io/79/cloud_br.png) no-repeat fixed right bottom, 
    #cfd6da url(https://s.cdpn.io/79/zeppelin-bg.jpg) no-repeat fixed center top;

p {
  margin: 0;

/* Wrapper ------------------------------------------------------ */

#wrapper {
  margin-top: 100px;
  padding: 30px 0;
  text-align: center;
  height: 23em;

#cloud {
  position: absolute;
  z-index: 10;
  left: 60%;
  top: -20px;

/* Effect ------------------------------------------------------ */

#wrapper:hover #text, #wrapper:hover #zeppelin {
  animation: img-animation 20s 1 ease-in-out;

#text, #zeppelin {
  position: absolute; 
  width: 100%;
  height: 250px;
  display: block;
  background: url(https://s.cdpn.io/79/zeppelin.png) no-repeat center center;

#text {
  z-index: 1;
  font: 22em 'Droid Sans', sans-serif;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 6px rgba(255,255,255,0.05);
  text-shadow: rgba(245,245,255,0.35) 0 0px 0px,
    rgba(0,0,30,0.1) 0px 0.04em 0.02em;
  background: -webkit-linear-gradient(-90deg, 
    rgba(255,255,255,0) 0%, 
    rgba(255,255,255,.3) 50%, 
    rgba(255,255,255,0) 50%,
    rgba(255,255,255,.3) 100%
    url(https://s.cdpn.io/79/zeppelin.png) no-repeat center center;
  -webkit-background-clip: text;

#zeppelin {
  transform: scaleY(.93) scaleX(.98);

@keyframes img-animation {
  0% { background-position: center, center; }
  25% { background-position: left, left; }
  75% { background-position: right, right; }
  100% { background-position: center, center; }

#text:focus {
  outline: none;
Loading ..................