Pen Settings



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


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.


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.


                <div class="card">
  <div class="card__content">
    <p>The gelada (Theropithecus gelada, Amharic: ጭላዳ, translit. č̣əlada), sometimes called the bleeding-heart monkey or the gelada "baboon", is a species of Old World monkey found only in the Ethiopian Highlands, with large populations in the Semien Mountains. Geladas are actually not baboons (baboons are all taxonomic members of the genus Papio) but members of their own genus Theropithecus. Theropithecus is derived from the Greek root words for "beast-ape".[3][4] Like its close relatives the baboons (genus Papio), it is largely terrestrial, spending much of its time foraging in grasslands. </p>
  <div class="card__ethics">
    <dd>Cercopithecidae </dd>


.card {
  display: grid;
  grid-template-columns: 1.5em auto 1.5em auto 1.5em;
  grid-template-rows: 1.5em auto auto 1.5em;
  .card__content {
    grid-row: 2 / 3;
    grid-column: 2 / 3; 
  .card__ethics {
    grid-row: 1 / 5;
    grid-column: 4 / 6;
    padding: 1.5em;
    background-color: #eee;

/* decoration */

body {
  background-color: #eee;
  font-family: "Open Sans", sans-serif;
  line-height: 1.4;
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
  margin: 0;

.card {
  background: #fff;
  max-width: 50em;
  box-shadow: 0 0 .25em #999; 

h1 {
  margin: 0;
  font-weight: normal;
  color: #777;

dt {
  font-weight: bold;
dd {
  margin-left: .5em;