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.

              <div class="content">
  <h2>Are you looking for a roommate?</h2>
  <p class="center"><b>Ty Strong</b> is the man you've been looking for!</p>
  <img class="picture" src="" alt="" />
  <h3>Who is Ty Strong?</h3>
  <p>Ty is a computer science major who will be attending The Ohio State University. He enjoys long walks on the beach and normal college freshman stuff. His hobbies include web development, hacky sack, and a little bit of computer gaming.</p>
    <li>Makes great ramen noodles and Easy mac!</li>
    <li>Can tell the difference between your and you're!</li>
  <h3>What kind of roommate is Ty looking for?</h3>
  <p>A sociable male with a personality. No shy people. <u>Seriously</u>. Any major and age is fine. If you are familar with techy stuff, we will have more in common.</p>
    <li>Has a full set of teeth.</li>
    <li>Gets at least 2 hours of sleep per night.</li>
  <h3>How do you get ahold of me?</h3>
  <p>My email is <a href=""></a>. Ask me questions and stuff! Get to know me. I promise, I'm not a wierdo.</p>
  <h3>Do you <i>really</i> want to stalk me?</h3>
  <p>My Twitter handle is <a target="_blank" href="">@TyBPA</a>, and my website is at <a target="_blank" href=""></a>.</p>
  <div class="small">
    <span>Best Veiwed with</span>
    <br />
    <img src="" alt="" />
    <br />
    <span>Forget all the other browsers and down with the Web 2.0 net police.</span>
              body {
  margin: 0;
  background-size: 10%, 600px 1px;
  font-family: 'comic sans ms', 'comic sans', cursive;
  font-size: 1.25em;
div.content {
  background: rgba(255,255,255,0.8);
  margin: 100px auto;
  width: 70%;
  padding: 20px 5%;
  max-width: 900px;
  min-width: 500px;
  border-radius: 10px;
h1 {
  text-align: center;
  font-size: 3.5em;
  margin: 0;
h2 {
  text-align: center;
  font-size: 2em;
h3 {
  font-size: 1.5em;
div.small {
  width: 200px;
  margin: 20px auto;
  font-size: 0.5em;
  text-align: center;
} {
  text-align: center;
img.picture {
  display: block;
  border-radius: 50%;
  height: 200px;
  margin: 0 auto;
  border: solid 5px #888;
  animation: spin 5s infinite linear;
a {
  color: #38c;
  text-decoration: none;
  border-bottom: solid 1px #38c;
  transition: all 200ms;
a:hover {
  color: #159;
  border-bottom: solid 5px #159;

@media (max-width:500px) {
  div.content {
    width: 90%;
    max-width: 90%;
    min-width: 69px;
    font-size: 0.8em;
@keyframes spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
🕑 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.