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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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.


<h1>Lorem ipsum dolor sit amet</h1>
    <p>Morbi blandit, <a href="#">magna</a> non fermentum congue, arcu nibh egestas velit, tempor elementum justo odio a ipsum. Integer 190823 dictum odio eu dapibus condimentum. Proin pharetra lectus a purus sollicitudin hendrerit. Aliquam erat volutpat. Morbi cursus euismod posuere. 1/2 Phasellus non porta velit. Donec imperdiet malesuada malesuada.</p>


                $white: #ffffff;
$black: #000000;
$red: #bd0000;
$green: #31572C;
$green-light: #4F772D;
$orange: #ed7130;

 @import url('');
// font-family: 'Nosifer', cursive;

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

html { font-size: 16pt; }

body {
  font-size: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-feature-settings: "tnum", "zero";
  background-color: darken($orange, 30%);

a {
  color: $green-light;
  transition: all .2s ease-in-out;
  display: inline-block;
  &:visited { 
    color:  darken($red, 7%);
  &:active {
    transform: scale(1.2);
    transform-origin: center;
    background-color: $white;
    color: $green;

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nosifer', cursive;

h1 {
  color: $red;
  max-width: 13em;
  text-align: center;
  margin: 5px auto;

div {
  background-color: darken($black, 15%);
  color: $white;
  max-width: 50em;
  padding: 60px 120px;
  margin: 90px auto;
  &::before, &::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
  &::before {
    top: -60px;
    bottom: -60px;
    border: 4px solid darken($black, 15%);
  &::after {
    top: 0;
    bottom: 0;
    border-left: 4px solid $white;
    border-right: 4px solid $white;