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.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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.

+ add another resource


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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <div class="find-parking">
    <h2>Find Parking</h2>


                .find-parking {
  width: 100%;
  padding: 20px 0;
  overflow: hidden; /*clip the keylines outside the container */
  text-align: center;
  background: linear-gradient(top, #92b63c 0%, #608c1e 100%);   

h2 {
  display: inline;
  position: relative;
  padding: 0 20px; /*gap between keylines and text */
  text-align: center;
  /*font styles - not needed to create the keylines*/
  color: #fff;
  font-size: 20px;
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);

  h2:after {
    content: ""; 
    position: absolute; 
    top: 50%;
    width: 200%; /*can be set larger, but this was the largest it needed to be in my case*/
    height: 0;
    /* the actual keylines*/
    border-top: solid 1px #68832a;
    border-bottom: solid 1px #a8d244; 
   * This little bit of magic ensures the pseudeo-elements start
   * precisely at the boundaries of the text element, regardless      
   * of the text element's width.	
  h2:before {
    right: 100%; 
  h2:after {
    left: 100%;