123

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <nav>
  <div class="nav-content">
    <p class="title">CryptLife</p>
  </div>
</nav>
<div class="content">
  <img src="http://lorempixel.com/700/300" />
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi fermentum, risus sed cursus hendrerit, tortor augue malesuada leo, eget tempus magna lacus vel velit. Praesent quis felis orci. Nam dignissim, odio vitae lobortis aliquam, arcu erat faucibus nulla, non finibus purus quam vel lacus. Aliquam facilisis augue consectetur enim ultricies vehicula. Donec consectetur arcu a magna semper porta. Nullam nisl tortor, cursus eget pulvinar non, sollicitudin nec felis. Nam dapibus risus a semper molestie. Etiam ac mollis nisl. Donec faucibus nulla lectus, quis euismod ante maximus nec. Praesent ac sagittis felis, vel lacinia tortor. Cras pretium varius auctor.</p>

  <p>Praesent lorem dolor, luctus ut porta ac, viverra ut dui. Morbi pellentesque porta augue non varius. Etiam vel scelerisque leo. Maecenas posuere neque interdum gravida dapibus. Fusce luctus dictum ex. Etiam sed arcu augue. In pulvinar, odio et lacinia cursus, mi nulla efficitur justo, sed blandit mi nulla eu justo. Nunc at varius metus. Pellentesque nisi diam, malesuada nec risus vitae, suscipit congue tellus. Phasellus orci tortor, interdum sit amet suscipit tincidunt, elementum vel metus. Morbi finibus eleifend semper. Pellentesque posuere lorem non mi tristique congue. Aenean libero neque, blandit vitae ante sit amet, tristique euismod tortor.</p>
  <img src="http://lorempixel.com/700/500" />
  <p>Cras malesuada tellus eget lectus eleifend, vitae lacinia elit blandit. Nam odio diam, posuere eu ipsum vitae, ultricies volutpat sapien. Vestibulum in sem nec erat rhoncus vestibulum non eget dui. Vestibulum vestibulum dui eget lacus consectetur, eu condimentum sapien euismod. Nulla facilisi. Etiam lacinia lacus diam. Integer varius urna vel enim mollis elementum. Praesent sed dolor arcu. Maecenas id ex id felis bibendum varius. Sed quis justo ut diam sodales placerat nec ut metus. Praesent sem elit, maximus mollis odio eget, vestibulum dictum neque.</p>

  <p>Sed sodales eros eu eros gravida commodo. Mauris sed dictum sem. Curabitur id ex eget nulla tincidunt malesuada non ut risus. Donec mollis vel purus a ultricies. Praesent lobortis, nisi ac pulvinar rutrum, ligula velit cursus lacus, at aliquet justo sapien in odio. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nunc fringilla nisl elit, quis molestie magna aliquam quis. Donec tortor magna, sodales non rhoncus sed, lacinia et tellus. Praesent finibus congue maximus. In ut ex auctor, pellentesque neque sit amet, condimentum nisl. Vivamus pulvinar condimentum est, nec convallis nunc eleifend quis. Nullam non viverra metus. Sed tempus erat eu turpis aliquam porttitor. Integer nisl lectus, tincidunt quis ante ut, dapibus tincidunt nibh. In hac habitasse platea dictumst. Fusce hendrerit eget libero non scelerisque.</p>

  <p>Fusce at lobortis orci. Aenean lobortis enim vitae dui lobortis efficitur. Phasellus quam dolor, semper venenatis commodo pulvinar, dapibus eget erat. Sed porta nec velit vitae viverra. Mauris pharetra fringilla sapien et varius. Aliquam rutrum, neque at eleifend sollicitudin, est tellus pellentesque urna, eu pharetra arcu purus bibendum velit. Duis pharetra mi dolor, sodales lacinia diam semper quis. Pellentesque ultricies, justo non auctor rutrum, orci eros fermentum arcu, eu volutpat enim nisi et nunc. Fusce orci tortor, congue et tristique eu, facilisis eu erat. Suspendisse nec sapien et ante iaculis rhoncus. Vestibulum lacinia sollicitudin turpis a feugiat.</p>
</div>
            
          
!
            
              body, html {
  font-family: 'Calibri';
  margin: 0px;
  width: 100%;
}
nav {
  width: 100%;
  height: 70px;
  background: rgba(0,0,0, 0.5);
  border: 1px solid #0e0e0e;
  border-width: 0 0 1px 0;
  position: fixed;
  backdrop-filter: blur(10px);
}
.nav-content {
  width: 700px;
  margin: 0 auto;
  padding: 5px;
}
.nav-content p {
  color: #fff;
  line-height: 10px;
  font-weight: bold;
  font-size: 26px;
}
.content {
  clear: both;
  width: 700px;
  margin: 0 auto;
  padding-top: 100px;
}
.content p {
  font-size: 28px;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console