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

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

              
                <img src="https://unsplash.it/1920/600?image=62">
<div class="content">
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras quis vestibulum velit, vel molestie est. Quisque condimentum sagittis odio vel egestas. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum venenatis commodo ligula, id vulputate libero rhoncus sed. Nulla in velit at dui eleifend mattis vel at arcu. Etiam at varius sapien. Nullam nec nulla luctus, lobortis nulla et, rutrum enim.</p>
  <h3><span>"</span>Nulla in velit at dui eleifend mattis vel at arcu. Etiam at varius sapien. Nullam nec nulla luctus, lobortis nulla et, rutrum enim.<span>"</span></h3>
  <p>Mauris sagittis erat eu scelerisque tincidunt. Maecenas facilisis neque blandit iaculis ornare. Nullam placerat lectus eu turpis molestie ultrices. Curabitur quis euismod quam, at convallis neque. Nunc nec magna lobortis nulla luctus blandit eu vitae risus. Morbi ante justo, porta in pulvinar scelerisque, interdum vitae arcu. Integer non vehicula sem, in lobortis mi. <strong>Proin sit amet aliquet</strong> magna, eu malesuada purus. Nam condimentum dolor nec tempus cursus. Donec ligula velit, lobortis eget dui sed, mollis accumsan metus. Ut ut molestie ligula. Fusce sodales malesuada purus, nec hendrerit justo pulvinar non.</p>
  <p>Fusce placerat elementum leo, in facilisis libero porta eu. Quisque ac fermentum orci. Morbi suscipit viverra dolor quis posuere. Phasellus tincidunt eleifend turpis, eget commodo sem. Aliquam maximus dui eu sodales scelerisque. Maecenas dictum aliquam justo id hendrerit. In condimentum mattis magna. Quisque vel mauris pulvinar arcu finibus scelerisque. Duis ac urna eu purus euismod ullamcorper sollicitudin quis eros. Pellentesque congue sapien commodo felis fermentum consectetur. Duis at ultricies odio, eu ultricies magna. Nunc maximus bibendum nulla id egestas. Sed at interdum ante, vitae tempus est.</p>
  <p>Etiam at tortor ornare, porta tortor at, volutpat odio. Integer tristique, quam ultricies bibendum mollis, lorem urna condimentum arcu, a porttitor ipsum augue a orci. Pellentesque eget finibus lectus, eget rutrum massa. Maecenas consectetur nisi a blandit mollis. Integer consequat nec tortor eu fringilla. In hac habitasse platea dictumst. <i>Nulla facilisi. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Lorem ipsum dolor sit amet, consectetur adipiscing elit.</i></p>
  <p>Fusce placerat elementum leo, in facilisis libero porta eu. Quisque ac fermentum orci. Morbi suscipit viverra dolor quis posuere. Phasellus tincidunt eleifend turpis, eget commodo sem. Aliquam maximus dui eu sodales scelerisque. Maecenas dictum aliquam justo id hendrerit. In condimentum mattis magna. Quisque vel mauris pulvinar arcu finibus scelerisque. Duis ac urna eu purus euismod ullamcorper sollicitudin quis eros. Pellentesque congue sapien commodo felis fermentum consectetur. Duis at ultricies odio, eu ultricies magna. Nunc maximus bibendum nulla id egestas. Sed at interdum ante, vitae tempus est.</p>
  <div class="copy">
    <p><a href="#">IMPRESSENCE (#163)</a> © 2017</p>
    <p>
      <span>Naziv rada: <a href="#">Soulbox 5</a></span>
      <span>Autor: <a href="#">Marijan Muškinja</a></span>
      <span>Datum: 14.08.2017</span>
      </p>
  </div>
  
  <button>Povratak na impressence</button>
</div>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Muli:200,300,400,600,700,800,900');

@import url('https://fonts.googleapis.com/css?family=Old+Standard+TT:400i');

*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body{
  margin: 0;
  background-color: #F8F8F8;
}

.content{
  width: 620px;
  margin: 0 auto;
  padding: 40px 0;
}

img{
  display: block;
  width: 100%;
  height: auto;
}

p{
  margin: 20px 0;
  color: #444;
  font-family: 'Muli', sans-serif;
  font-size: 16px;
  line-height: 22px;
  text-align: justify;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

p strong{
  font-weight: 700;
}

h3{
  margin: 30px 0;
  color: #666;
  font-family: 'Old Standard TT', serif;
  font-size: 36px;
  font-style: italic;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: 1.1px;
}

h3 span{
  font-style: italic;
  font-weight: 700;
}

.copy{
  margin-top: 80px;
}
.copy p{
  margin: 5px 0;
  color: #888;
  font-size: 13px;
  line-height: 16px;
  text-align: center;
  text-shadow: none;
}

.copy p span{
  padding: 0 10px;
  border-right: 1px solid #ccc;
}

.copy p span:last-child{
  border-right: none;
}

.copy a{
  color: #555;
  font-family: 'Ovo', serif;
  font-style: italic;
  text-decoration: none;
}

.copy a:hover{
  text-decoration: underline;
}

button{
  cursor: pointer;
  display: block;
  height: 60px !important;
  padding: 0 30px;
  margin: 40px auto;
  border-radius: 30px;
  border: 1px solid #CCC;
  background: transparent;
  color: #444;
  font-family: 'Muli', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  -webkit-transition: all .3s linear;
}

button:hover{
  color: #FFF;
  text-shadow: 0 2px 6px #444;
  box-shadow: inset 0 5px 15px rgba(0,0,0,0.3), inset 0 30px 30px rgba(0,0,0,0.2), inset 0 60px 0 0 #CCC;
}
              
            
!

JS

              
                
              
            
!
999px

Console