Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

HTML

              
                <div class="container">
  <h1>Lorem ipsum, dolor sit amet</h1>
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent arcu urna, pharetra sed blandit sit amet, vehicula hendrerit sem. Pellentesque molestie, tortor a gravida vulputate, tellus nibh tempus nibh, nec sagittis nisi dui non orci. Curabitur congue dapibus justo ut bibendum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec tincidunt nisl bibendum enim congue finibus. Fusce efficitur non mi nec luctus. Quisque quis facilisis tellus. Integer molestie dolor arcu, a sagittis ipsum molestie in.</p>
  
  <p class="nota">Nulla at pharetra lacus. Nulla eu orci ac velit sodales tempor sit amet at risus. Donec tempus nunc et nibh suscipit fermentum.</p>
  
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent arcu urna, pharetra sed blandit sit amet, vehicula hendrerit sem. Pellentesque molestie, tortor a gravida vulputate, tellus nibh tempus nibh, nec sagittis nisi dui non orci. Curabitur congue dapibus justo ut bibendum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec tincidunt nisl bibendum enim congue finibus. Fusce efficitur non mi nec luctus. Quisque quis facilisis tellus. Integer molestie dolor arcu, a sagittis ipsum molestie in.</p>
  
  <p class="nota">Nulla at pharetra lacus. Nulla eu orci ac velit sodales tempor sit amet at risus. Donec tempus nunc et nibh suscipit fermentum.</p>
  
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent arcu urna, pharetra sed blandit sit amet, vehicula hendrerit sem. Pellentesque molestie, tortor a gravida vulputate, tellus nibh tempus nibh, nec sagittis nisi dui non orci. Curabitur congue dapibus justo ut bibendum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec tincidunt nisl bibendum enim congue finibus. Fusce efficitur non mi nec luctus. Quisque quis facilisis tellus. Integer molestie dolor arcu, a sagittis ipsum molestie in.</p>
  
  <p class="nota">Nulla at pharetra lacus. Nulla eu orci ac velit sodales tempor sit amet at risus. Donec tempus nunc et nibh suscipit fermentum.</p>
  
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent arcu urna, pharetra sed blandit sit amet, vehicula hendrerit sem. Pellentesque molestie, tortor a gravida vulputate, tellus nibh tempus nibh, nec sagittis nisi dui non orci. Curabitur congue dapibus justo ut bibendum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec tincidunt nisl bibendum enim congue finibus. Fusce efficitur non mi nec luctus. Quisque quis facilisis tellus. Integer molestie dolor arcu, a sagittis ipsum molestie in.</p>
  
  <p class="nota">Nulla at pharetra lacus. Nulla eu orci ac velit sodales tempor sit amet at risus. Donec tempus nunc et nibh suscipit fermentum.</p>
  
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent arcu urna, pharetra sed blandit sit amet, vehicula hendrerit sem. Pellentesque molestie, tortor a gravida vulputate, tellus nibh tempus nibh, nec sagittis nisi dui non orci. Curabitur congue dapibus justo ut bibendum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec tincidunt nisl bibendum enim congue finibus. Fusce efficitur non mi nec luctus. Quisque quis facilisis tellus. Integer molestie dolor arcu, a sagittis ipsum molestie in.</p>
  
  <p class="nota">Nulla at pharetra lacus. Nulla eu orci ac velit sodales tempor sit amet at risus. Donec tempus nunc et nibh suscipit fermentum.</p>
  
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent arcu urna, pharetra sed blandit sit amet, vehicula hendrerit sem. Pellentesque molestie, tortor a gravida vulputate, tellus nibh tempus nibh, nec sagittis nisi dui non orci. Curabitur congue dapibus justo ut bibendum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec tincidunt nisl bibendum enim congue finibus. Fusce efficitur non mi nec luctus. Quisque quis facilisis tellus. Integer molestie dolor arcu, a sagittis ipsum molestie in.</p>
  
  <p class="nota">Nulla at pharetra lacus. Nulla eu orci ac velit sodales tempor sit amet at risus. Donec tempus nunc et nibh suscipit fermentum.</p>
</div>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Open+Sans:400,800');

.container {
  max-width: 1000px;
  margin: 0 auto;
  font-family: 'Open Sans', sans-serif;
  color: #040303;
  counter-reset: nota;
}

.nota {
  padding: 1.5rem;
  background-color: #67C3E6;
  border-left: .9rem solid #2395C0;
}

.nota::before {
  color: #0A3A54;
  font-weight: 800;
  padding-right: 10px;
  counter-increment: nota;
  content: "NOTA " counter(nota) " ";
  position: relative;
}
              
            
!

JS

              
                
              
            
!
999px

Console