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

+ 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

              
                <div class="wrapper">
<div class="background">
    Question 1
    <div class="foreground">
        W h o&nbsp;&nbsp;i s&nbsp;&nbsp;y o u r&nbsp;&nbsp;t a r g e t&nbsp;&nbsp;m a r k e t ?
    </div>
</div>
  <p>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et urna odio, convallis pulvinar dolor. Vestibulum porta vulputate imperdiet. Quisque mauris nisi, interdum vel interdum at, pellentesque ac neque. Duis blandit ornare vestibulum. Donec varius justo nec dolor elementum tincidunt. Suspendisse sagittis nulla sed velit venenatis hendrerit. Suspendisse ornare ante in nibh gravida placerat. Sed ultricies magna eget neque dapibus convallis. Sed rutrum mauris ac purus sagittis quis facilisis leo viverra. Quisque nec sem odio.
  </p>
  <p>
    Aliquam vulputate, nunc a laoreet porta, neque mauris congue nibh, in bibendum magna mi eget neque. Aenean ac velit mauris. Cras ornare, ante vitae condimentum pellentesque, sapien nisl ullamcorper neque, nec placerat lacus nisl a nisl. Sed pellentesque commodo volutpat. In ac lacus justo, quis pharetra risus. Quisque pulvinar nunc euismod felis adipiscing aliquet. Curabitur et laoreet neque. Cras vitae quam eros, at ullamcorper tellus. Sed at mauris leo. Nunc vestibulum risus at sem euismod sit amet adipiscing sem imperdiet. In faucibus, lacus vel suscipit condimentum, enim ligula congue nunc, consequat scelerisque felis tortor a risus. Sed at tellus at est egestas consectetur id venenatis nunc. Nulla quis nisi risus, ac porttitor metus.</p>
  <p>

Ut elementum molestie magna, non ullamcorper orci varius nec. Maecenas quam dui, posuere eu gravida ac, imperdiet ut lorem. Pellentesque justo leo, condimentum vehicula facilisis ac, commodo et urna. Sed ultrices molestie malesuada. Praesent purus nibh, fringilla a ornare eu, imperdiet in erat. Donec tristique blandit leo non ultricies. In dictum dictum dolor id vehicula. Curabitur id justo vestibulum est tempor tristique. Curabitur eu li
  </p>
  <br />
  <br />
  <br />
  <br />
</div>
              
            
!

CSS

              
                body{
 background-color:#aaa;
  
}
.wrapper{
  width:auto;
  margin: 1em;
  background-color:#fff;
  height: 100%;
  box-shadow: 0px 0px 20px rgba(0,0,0,.8);
    
}
.background{
  font-family:Arial;
  font-weight:900;
  text-align: center;
  font-size: 5em;
  display:block;
  margin: auto;
  color:#70802c;
  line-height:0px;
  padding: 1em .5em .5em;
  width:7em;
}
.foreground{
  background-color: #FFF;
  padding: .75em .5em .5em .5em;
  border-top: solid 1px #70802c;
  border-bottom: solid 1px #70802c;
  text-align: justify;
  color: #70802c;
  margin: 0 -5px;
  font-family: 'Serif';
  font-style: italic;
  font-size: .25em;
  display: inline-block;
  width: 100%;
  line-height:0em;
  margin-top:.5em;
}
.foreground:after{
  content: "";
  display: inline-block;
  width: 100%;
}
p{
 margin: 1em 3em;  
}
              
            
!

JS

              
                
              
            
!
999px

Console