Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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 id="inner-content">
<h1>Testing</h1>
<h2>The Cornered Box Layout</h2>
<p>The cornered box div will begin after the line below</p>
<hr style="width:88%;height:3px;color:#333;margin:0 auto 0 auto;">
<div class="boxHolder">
    <h3>Egg Plates</h3>
    <p>One egg, any style&#8230;..3.45<br />
        with bacon, ham or sausage&#8230;5.25</p>
    <p>Two egg, any style&#8230;..4.25<br />
        with bacon, ham or sausage&#8230;5.75</p>
    <p>Corned beef with two eggs&#8230;..6.25</p>
    <p>Corned beef hash with two eggs&#8230;..6.95</p>
    <p>Gyro with two eggs&#8230;..6.00</p>
    <p>Sliced steak with two eggs&#8230;..10.95</p>
    <p>Two pancakes, two eggs, two bacon slices and one sausage-no toast&#8230;..6.95</p>
    <p>Rib-eye steak and 2 eggs&#8230;..12.95</p>
    <p>Hamburger patty and two eggs&#8230;..7.95</p>
    <p>Lox, eggs and onions- with bagel&#8230;..8.25</p>
    <p>2 pork chops &amp; 2 eggs allow 15 minutes&#8230;.11.95</p>
    <p>2 eggs, 2 bacon strips and one sausage&#8230;..6.95</p>
    <p>Ham steak or country ham and two eggs&#8230;..8.95</p>
    <p>Chopped steak and two eggs&#8230;..9.95</p>
    <p>Canadian bacon and two eggs&#8230;..9.95</p>
    <p>Eggs benedict&#8230;..9.25<br />
        Two poached eggs with canadian bacon topped with hollandaise sauce on an english muffin, served with home fries</p>
    
</div>
<div class="corner topLeft"></div>
<div class="corner topRight"></div>
<div class="corner bottomLeft"></div>
<div class="corner bottomRight"></div>
</div><!--  end inner-content div -->
              
            
!

CSS

              
                       #inner-content {

           width:88%;
           min-width:182px;

           margin:6px auto 6px auto;  

           padding:16px 8px 10px 20px;  

           -webkit-box-shadow: 0px 0px 6px 2px rgba(184, 184, 184, 0.2);

           -moz-box-shadow: 0px 0px 6px 2px rgba(184, 184, 184, 0.2);

           box-shadow: 0px 0px 6px 2px rgba(184, 184, 184, 0.2);

           position:relative;

       }
       .boxHolder {
           width: 100%;
           min-height: 180px; /*  was 315px  */
       }
       .corner {position:absolute; width:32px; height:32px;}

       .corner {background-image:url(http://texxsmith.net/images/pageCorners.png);}



       .topLeft {top:-1px; left:-1px;}

       .topRight {top:-1px; right:-1px; background-position:-32px 0;}

       .bottomLeft {bottom:-1px; left:-1px; background-position:0 -32px;}

       .bottomRight {bottom:-1px; right:-1px; background-position:-32px -32px;}
              
            
!

JS

              
                /*  No Javascript is needed silly  */
              
            
!
999px

Console