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

+ add another resource


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


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.


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.


                <div id="pattern" class="pattern">
  <form action="#" method="post" class="f">
      <label class="is-vishidden">Search the site</label>     
    <input type="search" placeholder="Search the site" />
      <input type="submit" class="btn search-submit" value="Search">
<!--End Pattern HTML-->
  <div class="container">	
		<section class="pattern-description">
			<h1>Fluid Search Form</h1>
      <p>A fully-fluid search form.</p>
        <li>Remember, a field placeholder is not a substitute for a form label.</li>
        <li>Utilize <code>box-sizing: border-box;</code> to create fully fluid form fields with fixed amounts of padding.</li>
        <li>Use <code>type=search</code> to pull up the search-specific virtual keyboard on many touch devices</li>
        <li><a href="">* { box-sizing: border-box } FTW</a></li>
        <li><a href="">A Form of Madness</a></li>
        <li><a href="">Test of methods for hidden label information in forms.</a></li>
		<footer role="contentinfo">   
				<nav id="menu">
					<a href="">&larr;More Responsive Patterns</a>


                .is-vishidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);

.pattern {
  padding: 1em; 
  line-height: 1;
.f {
   position: relative; 

input {
  display: block;
  border: 1px solid #000;

input[type=search] {
    width: 100%;
    padding: 1em;
    padding-right: 7em;
    position: relative;
   top: 0;

input[type=submit] {
  position: absolute;
  right: 0.75em;
  top: 0.5em;
  bottom: 0.5em;
  z-index: 1;
  width: 6em;
  padding: 0;
  cursor: pointer;