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.

            
              <h1 class="title"><span>Ardbeg Uigeadail</span></h1>
<div class="content">
  <div class="item">
  <p>Lebowski ipsum obviously you're not a golfer. Jesus, man, can you change the station? Nihilists! Jesus. All right, Plan B. You might want to watch out the front window there, Larry. I'll get you a toe by this afternoon —with nail polish. I just want to say, sir, that we're both enormous—on a personal level. My point, Dude, is why should we settle for twenty grand when we can keep the entire million. Am I wrong?</p>
  <p>But that is up to little Larry here. Isn't it, Larry? Fine, Dude. As if it's impossible to get some nail polish, apply it to someone else's toe. They were Nazis, Dude? You're going to enter a world of pain, son. We know that this is your homework. We know you stole a car. You want a toe? I can get you a toe, believe me. There are ways, Dude. You don't wanna know about it, believe me.</p>
   </div>
  <div class="item">
  <p>It's a complicated case, Maude. Lotta ins. Lotta outs. And a lotta strands to keep in my head, man. Yeah man, it really tied the room together. Call the medics, Dude. Yeah. Roadie for Metallica. Speed of Sound Tour. You got the wrong guy. I'm the Dude, man. Yeah, well, right man, there are many facets to this, uh, you know, many interested parties. If I can find your money, man— what's in it for the Dude?</p>
  <p>Ever hear of the Seattle Seven? Would it be possible for me to get my twenty grand in cash? I gotta check this with my accountant of course. That wasn't her toe. You know, little of this, little of that. I was, uh, one of the authors of the Port Huron Statement —The original Port Huron Statement. Not the compromised second draft. I—the royal we, man, you know, the editorial. (<a href="http://www.lebowskiipsum.com/">Text from Lebowski Ipsum Generator</a>.)</p>
  </div>
  <div class="item">
  <p><img src="http://www.cyhung.net/wp-content/uploads/2014/11/ArdbegUigeadail.jpg"></p>
  </div>
</div>
            
          
!
            
              @import "compass/css3";

body {
  background: #fff; 
  
  * {
    color: #000;
  }
}
.title {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  color: #222;
  overflow: hidden;

  /**uncomment to make title a single line always 
    span {
  	 display: table;
  	 margin: 0 10px;
	 }
  **/
  
  &:before,
  &:after {
    content: " ";
    height: 0.2em;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    width: 50%;
  }
}

.content {
  font-family: sans-serif;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  
  .item {
    padding: 0 1em;
    width: 100%;
    font-size: 1em;
    line-height: 1.55em;
  }
  img {
    max-width: 100%;
    border: 0.5em solid #111;
  }
  
}

            
          
!
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