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 includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.


                <h6><em>Today</em> 9:23 AM</h6>
<ol class="chat">
  <li class="them">
    <blockquote>Yo dude!</blockquote><br>
    <blockquote>What's going on?!</blockquote>
  <li class="me">
    <blockquote>Not much bro!</blockquote>
  <li class="them">
    <blockquote>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc at molestie ipsum. Vivamus auctor metus et faucibus facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Pellentesque euismod sed enim a cursus. Pellentesque eget scelerisque augue, in porta mauris. </blockquote>
  <li class="me">
    <blockquote>Are you okay?!</blockquote>
  <li class="typing">
    <blockquote>&bull; &bull; &bull;</blockquote>


                @import url(;

.test {
  border-width: 0 10px;
  border-color: black;
  border-style: solid;
  height: 50px;
  border-radius: 10px/50%;

body { 
  font-family: "Open Sans", sanserif;
  margin: 2em;

.chat blockquote {
  line-height: 1.7;
  max-width: 75%;
  margin-bottom: 0.5ex;
  display: inline-block;
  padding: 0.5ex 1em;
  border-radius: 1.5ex/1em;
  position: relative;
  box-shadow: 0 15px 1px -12px rgba(0,0,0,0.05);

.chat .them, .chat .me { margin-bottom: 1ex; }
.chat .them { text-align: left; }
.chat .me { text-align: right; }

blockquote:last-child::before {
  position: absolute;
  z-index: -999;
  border: 1ex solid transparent;
  bottom: 0;
  border-radius: 1em/1ex;  

.chat .them blockquote { background-color: #ccc; }
.chat .them blockquote:last-child::before {
  border-bottom-color: #ccc;
  border-right-color: #ccc;
  left: -0.8ex;
  content: "";

.chat .typing blockquote { 
  background-color: #ccc;
  font-weight: bold;
  color: #666;
.chat .typing blockquote:last-child::before {
  border-color: #ccc;
  border-width: 0.6ex;
  border-radius: 0.6ex;
  left: -0.2ex;
  box-shadow: -1.1ex 0.3ex 0 -0.3ex #ccc;
  content: "";

.chat .me blockquote {
  background-color: #007AFF;
  background-image: linear-gradient(180deg,#007AFF,#1D62F0);
  color: white;

.chat .me blockquote:last-child::before {
  content: "";
  right: -0.8ex;
  border-bottom-color: #1D62F0;  
  border-left-color: #1D62F0;

h6 {
  font-size: .7em;
  text-align: center;
  margin: 1em 0;
  color: #ccc;

h6 em { font-weight: bold; }