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.

            
              
<blockquote>News is what somebody somewhere wants to suppress; all the rest is <em>advertising!</em><cite>Lord Northcliffe, British publisher</cite>
</blockquote>
            
          
!
            
              /* Import any google fonts */
@import url('https://fonts.googleapis.com/css?family=Monoton|Rokkitt');

/* use a RESET! to avoid extra space in the layout */
* {
 margin: 0;
 padding: 0;
}

/* FIRST! apply fonts and sizes to rougn in the broad layout */
blockquote {
 font-family: "Rokkitt";
 font-size: 7.5vw;
 text-align: center;
}

em, cite {
 font-style: normal;
 display: block;
}

em {
 font-family: "Monoton";
 text-transform: uppercase;
}

cite {
 font-size: 60%;
}

/* Apply colors */
em {
 color: tomato;
}
cite {
 color: silver;
}

/* NOW! Refine the layout with additional font details, and adjust spacing with margins to separate elemetns and perhaps padding on the "body" to place eveything within the "page" */
body {
 padding: 10% 5%;
}

blockquote {
 line-height: 0.7;
}
em {
 font-size: 150%;
 margin-top: .2em;
 letter-spacing: -0.02em;
}
cite{
 margin-top: 1em;
}


/* Last! Add any decoration */
em {
 border-bottom: 1.1vw double tomato;
 padding-bottom: 0.1em;
}

            
          
!
999px
Loading ..................

Console