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=Lobster' rel='stylesheet' type='text/css'>
<div id="container">
  <h1>The Great Gatsby</h1>
  
 <p> In my younger and more vulnerable years my father gave me some advice that I’ve been turning over in my mind ever since.</p>

  <p>
“Whenever you feel like criticizing any one,” he told me, “just remember that all the people in this world haven’t had the advantages that you’ve had.” </p>

  <p>
He didn’t say any more, but we’ve always been unusually communicative in a reserved way, and I understood that he meant a great deal more than that. In consequence, I’m inclined to reserve all judgments, a habit that has opened up many curious natures to me and also made me the victim of not a few veteran bores. The abnormal mind is quick to detect and attach itself to this quality when it appears in a normal person, and so it came about that in college I was unjustly accused of being a politician, because I was privy to the secret griefs of wild, unknown men. Most of the confidences were unsought — frequently I have feigned sleep, preoccupation, or a hostile levity when I realized by some unmistakable sign that an intimate revelation was quivering on the horizon; for the intimate revelations of young men, or at least the terms in which they express them, are usually plagiaristic and marred by obvious suppressions. Reserving judgments is a matter of infinite hope. I am still a little afraid of missing something if I forget that, as my father snobbishly suggested, and I snobbishly repeat, a sense of the fundamental decencies is parcelled out unequally at birth.
  </p>
  
</div>
            
          
!
            
              *{
  box-sizing:border-box;
}

body{
  margin:20px;
  font-family: sans-serif;
  color:black;
}
#container {  
  width: 100%;
  background:#ccc;
  padding:10px;
}

p{
  font-size:1.25em;
  line-height:1.5em;
}
h1{ 
  color: white;
  display: inline-block; 
  font-family: "Lobster"; 
  letter-spacing: 0.2em;
  text-transform: uppercase; 
  text-shadow: .02em .02em 0 #000;
  width: 100%;
  font-size:3em;
}


            
          
!
            
              /*
$("#yourItem").fitText(1, { minFontSize: '20px', maxFontSize: '400px' });
*/
            
          
!
999px
Loading ..................

Console