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

              
                  <section class="center">
    <article>
      <h1 class="header">404</h1>
      <p class="error">ERROR</p>
    </article>
    <article>
      <img src="http://i62.tinypic.com/vovg1x.png" alt="Funny Face">
    </article>
    <article>
      <p>Lost? Maybe I can help.</p>
    </article>
    <article>
      <form action="">
        <input type="text" name="search" class="srchFld" placeholder="What are you looking for?" required/>
        <button type="submit" class="srchBtn">Search</button>
      </form>
    </article>
    <article>
      <h3>My Suggestions.</h3>
      <ul>
        <li><a href="">Home</a></li>
        <li><a href="">Portfolio</a></li>
      </ul>
    </article>
  </section>
              
            
!

CSS

              
                $blue: #0A7189
$lblue: #75C6D9

body
	background-color: $blue
	color: #fff
	font: 100% 'Lato', sans-serif
	font-size: 1.8rem
	font-weight: 300

a
	color: $lblue
	text-decoration: none
  
h3
	margin-bottom: 1%

ul
	list-style: none
	margin: 0
	padding: 0
	line-height: 50px
  
li
	a:hover
		color: #fff
  
.center
	text-align: center
    
/* Search Bar Styling */

// Thank you Will Boyd (@lonekorean) for the alignment fix
form > *
	vertical-align: middle

.srchBtn
	border: 0
	border-radius: 7px
	padding: 0 17px
	background: #e74c3c
	display:inline
	width: 99px
	border-bottom: 5px solid #c0392b
	color: #fff
	height: 65px
	font-size: 1.5rem
	cursor: pointer
  
.srchBtn:active
	border-bottom: 0px solid #c0392b
.srchBtn:focus
	outline: 0

.srchFld
	border: 0
	border-radius: 7px
	padding: 0 17px
	display:inline
	max-width: 404px
	width: 40%
	border-bottom: 5px solid #bdc3c7
	height: 60px
	color: #7f8c8d
	font-size: 19px

.srchFld:focus
	outline-color: rgba(white,0)

/* 404 Styling */
.header
	font-size: 13.0rem
	font-weight: 700
	margin: 2% 0 2% 0
	text-shadow: 0px 3px 0px #7f8c8d

/* Error Styling */
.error
	margin: -70px 0 2% 0
	font-size: 7.4rem
	text-shadow: 0px 3px 0px #7f8c8d
	font-weight: 100
              
            
!

JS

              
                
              
            
!
999px

Console