123

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <main class="main">
  
  <h2>Come To The</h2>
  
  <svg viewBox="0 0 194.59863 103.94111">
  <path fill-rule="evenodd" clip-rule="evenodd" d="M107.8989,11.55148c-5.10444,0-9.23939,4.13795-9.23939,9.23939
    c0,5.10444,4.13795,9.23939,9.23939,9.23939c5.10444,0,9.23939-4.13795,9.23939-9.23939
    C117.13829,15.68643,113.00334,11.55148,107.8989,11.55148z M107.8989,34.65144c-7.65628,0-13.86057-6.20729-13.86057-13.86057
    s6.20429-13.86058,13.86057-13.86058c7.65329,0,13.86058,6.20429,13.86058,13.86058S115.55219,34.65144,107.8989,34.65144z
     M107.8989,0C91.72923,0,82.48685,18.48177,82.48685,20.79086s9.23939,20.79086,25.41206,20.79086
    c16.16968,0,25.41206-18.48177,25.41206-20.79086S124.06858,0,107.8989,0z"/>
  <path d="M35.31205,4.97333l-3.90931,8.10838c-4.31544-2.50804-9.7424-4.25844-13.06745-4.25844
    c-2.68379,0-4.49119,0.99039-4.49119,2.97355c0,7.06098,21.58433,3.0353,21.58433,17.79377
    c0,8.16775-7.23436,12.48319-16.33313,12.48319c-6.82586,0-13.82746-2.56504-18.66779-6.53373l4.02331-7.992
    c4.20144,3.67656,10.50241,6.12522,14.76085,6.12522c3.26568,0,5.30821-1.22314,5.30821-3.55781
    c0-7.23436-21.58433-2.91654-21.58433-17.38527c0-7.52412,6.47435-12.30744,16.27613-12.30744
    C25.10414,0.42276,31.11061,2.23016,35.31205,4.97333z"/>
  <path d="M68.41056,41.72464V25.85703H51.4908v15.86762H41.10714V0.88826H51.4908v16.80101h16.91977V0.88826h10.38366v40.83638
    H68.41056z"/>
  <path d="M170.44688,41.72464l-7.5835-28.23444l-7.69986,28.23444h-10.73517L131.06877,0.88826h11.0843l7.99199,30.04421
    l7.81862-30.04421h10.15091l7.992,30.04421l7.87563-30.04421h10.61641l-13.47595,40.83638H170.44688z"/>
  <g>
    <path d="M31.5369,58.54842v45.39268H17.03036V58.54842H0V46.81304h48.73296v11.73539H31.5369z"/>
    <path d="M69.43738,58.30348v11.32716c0,0,15.90393,0,17.49353,0c0.82168,0,3.67294,1.93185,3.67294,5.55685
      s-2.91106,5.85435-3.67294,5.85435c-1.57706,0-17.49353,0-17.49353,0V92.5323h31.05183v11.4088H54.93324V46.89468h44.65788v11.4088
      H69.43738z"/>
    <path d="M148.5762,91.79749v12.14362h-38.70972V46.89468h14.50414v44.90281H148.5762z"/>
    <path d="M194.21863,91.79749v12.14362H155.5089V46.89468h14.50655v44.90281H194.21863z"/>
  </g>
  <g>
    <circle fill="#FFFFFF" cx="139.46075" cy="52.71574" r="22.31528"/>
    <g>
      <path d="M145.62793,64.4707c-2.41992,2.00195-5.29883,3.08691-8.30176,3.08691c-5.71582,0-9.92871-3.5459-9.92871-8.51074
        c0-3.9209,2.71094-6.09082,5.79785-7.80078c-1.75195-2.50293-2.46094-4.46387-2.46094-6.5498
        c0-4.25488,3.25391-7.00879,8.34375-7.00879c4.92285,0,8.34375,2.71191,8.34375,6.5498c0,4.08789-3.37988,6.21582-6.88379,8.00977
        c1.25195,1.37695,2.75293,2.96191,4.63086,4.79785c0.79199-1.37695,1.45996-2.96191,1.96094-4.67285l4.58887,3.25391
        c-0.70996,1.91895-1.62695,3.6709-2.66992,5.17285l4.33789,4.12988l-3.62891,3.54688L145.62793,64.4707z M141.95605,60.88281
        c-2.41895-2.41992-4.42188-4.42188-5.96484-6.1748c-1.58594,1.04297-2.71191,2.21094-2.71191,3.83789
        c0,2.37793,1.87695,3.96387,4.33887,3.96387C139.12012,62.50977,140.62109,61.92578,141.95605,60.88281z M137.86816,48.82617
        c2.21094-1.20996,3.92188-2.54492,3.92188-4.54688c0-1.50195-1.04297-2.54492-2.62891-2.54492
        c-1.75195,0-2.79492,1.25098-2.79492,2.96191C136.36621,45.90625,136.8252,47.24121,137.86816,48.82617z"/>
    </g>
  </g>
  <path d="M93.76006,67.87858c-0.69872-0.7012-1.83253-0.69872-2.53126,0c-0.7012,0.6981-0.7012,1.83192-0.00247,2.53311
    c1.29595,1.29596,2.01139,3.01957,2.01139,4.85458c0,1.83253-0.71297,3.55861-2.01139,4.85457
    c-0.69873,0.69872-0.69873,1.83253,0.00247,2.53373c0.3503,0.34782,0.80518,0.52172,1.26687,0.52172
    c0.45674,0,0.91595-0.1739,1.26687-0.52419c1.9724-1.97549,3.05793-4.59588,3.05793-7.38583
    C96.818,72.47631,95.73247,69.85345,93.76006,67.87858z"/>
  <path d="M97.97099,63.66703c-0.69872-0.69873-1.83253-0.69873-2.53126,0c-0.6981,0.69873-0.6981,1.83253,0,2.53126
    c2.42048,2.42233,3.75481,5.64242,3.75481,9.06549c0,3.42555-1.33247,6.64378-3.75481,9.06611
    c-0.6981,0.69811-0.6981,1.83253,0,2.53064c0.35091,0.35091,0.80766,0.52482,1.26687,0.52482
    c0.45984,0,0.91658-0.1739,1.26687-0.52482c3.09692-3.09878,4.80382-7.21625,4.80382-11.59675
    C102.77481,70.88329,101.07039,66.76395,97.97099,63.66703z"/>
  </svg>
  
  <h2>At <a href="http://2015.cssdevconf.com/">CSS Dev Conf</a></h2>
  
  <p class="intro">Attendees! I, Chris Coyier, am hosting a <strong>Show & Tell</strong> session as part of the event. You should come by and hang out. If you're feeling it, you can share something awesome.</p>
  
  <time>
    Tuesday, October 27th<br>
    2 PM - 4 PM<br>
    Verandah Grill on the Sun Deck of the Queen Mary
    <small>
      It's during the "Best of" sessions, so if you've already seen what you wanted to see, come&nbsp;to&nbsp;this!
    </small>
  </time>
  
  <p>You don't have to present if you don't want, but it will be super fun and chill and anything-goes, so hopefully you'll be inspired to. It could be anything: a cool Pen on CodePen, a site design you worked on or really like, a JavaScript library you're into, a problem you've encountered and want opinions on, whatever!</p>
  
  <p>We'll do this, then go watch Dave Rupert do the closing keynote, then come back for the Dribbble Meetup!</p>
  
  <p>See ya there. -Chris</p>
  
</main>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Montserrat:400,700); 
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  line-height: 1.3;
}
.main {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
h2 {
  text-align: center;
  text-transform: uppercase;
  color: red;
  font-size: 2rem;
}
.intro {
  background: red;
  color: white;
  padding: 2rem;
  font-size: 1.8rem;
}
time {
  font-size: 1.8rem;
  text-align: center;
  display: block;
  border-top: 4px solid black;
  border-bottom: 4px solid black;
  padding: 1rem;
  small {
    display: block;
    color: #999;
    font-size: 1rem;
    margin: 0.5rem 0;
  }
}
a {
  color: inherit;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console