Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

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

Packages

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.

Behavior

Auto Save

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.

HTML

              
                <blockquote>
  <p>Kindness is the sunshine in which virtue grows.</p>
</blockquote>

<blockquote lang="fr">
  <p>Goodness is the sunshine on which virtue grows.</p>
</blockquote>

<blockquote lang="ja">
  <p>善良は美徳の生長する日光である。</p>
</blockquote>

<blockquote lang="kr">
  <p>착함은 미덕이 사는 양광이다. (바뤼흐 스피노자, 겸손명언)。</p>
</blockquote>

<blockquote lang="ru">
  <p>Доброта-это солнечный свет, в котором растет добродетель.</p>
</blockquote>

<blockquote lang="de">
  <p>La bondad es la luz del sol donde crece la virtud.</p>
</blockquote>

<blockquote lang="ar" dir="rtl">
  <p>اللطف هو أشعة الشمس التي تنمو فيها الفضيلة.</p>
</blockquote>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css?family=Gochi+Hand");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #291642;
  font-family: "Gochi Hand", sans-serif;
  font-size: 130%;
  letter-spacing: 0.1rem;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

blockquote p::before {
  content: open-quote;
}
blockquote p::after {
  content: no-close-quote;
}
blockquote p:last-child::after {
  content: close-quote;
}

blockquote {
  margin: 2vh;
  padding: 2vh 4vh;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

blockquote:nth-child(1) {
  background-color: #f36;
}

blockquote:nth-child(2) {
  background-color: #673ab7;
}

blockquote:nth-child(3) {
  background-color: #2196f3;
}

blockquote:nth-child(4) {
  background-color: #ff5722;
}

blockquote:nth-child(5) {
  background-color: #9e9e9e;
}

blockquote:nth-child(6) {
  background-color: #1a3657;
}

blockquote:nth-child(7) {
  background-color: #53115f;
}

              
            
!

JS

              
                
              
            
!
999px

Console