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

              
                   <body>

   <div id="head_Main">
   </div><!-- end of #head_Main -->

   <div id="page_Wrap">

      <header>
         <div id="head_Logo">
            <!--  HERE  -->
         </div><!-- end of #head_Logo -->
         <div id="head_Area">
            <div id="head_Info">
               <ul id="head_News">
                  <li>This is top secret.<a href="#">Read more...</a></li>
                  <li>This would be the xxxxxxxxxxxxSECOND line of info and lots more where this came from in this test.</li>
                  <li>&nbsp;</li>
                  <li>This would be the FORTH line.</li>
               </ul><!-- end of #head_News -->
            </div>
            <div id="head_Menu">
               <nav id="menu_Item"><img src="../homepics/submenu.gif" alt="">
                  <ul>
                     <li><a href="home.html">Home</a></li>
                     <li><a href="about.html">About Us</a></li>
                     <li class="current"><a href="advice.html">Advise</a></li>
                     <li><a href="contact.html">Contact Us</a></li>
                     <li><a href="login.html">Log In</a></li>
                  </ul>
               </nav>
            </div>
         </div><!-- end of #head_Area -->
         <div id="head_Note">
            <!--  HERE  -->
         </div><!-- end of #head_Note -->
      </header><!-- end of #header -->


      <div id="page_Earn">
         <img src="../homepics/728x090_uap.png" width="728" height="90" id="earn_Main" alt="No Advertising">
      </div><!-- end of #page_Earn -->


      <div id="page_Name">
         Home
      </div><!-- end of #page_Name -->

      <section>

         <article>
            <div class="body_Area">
               blah blah blah blah.
            </div>
            </br>
            <div class="body_Area">
               Browser Size:<br>
               <div id="size"></div>
               <br>
               <br>
               Screen Size
               <div id="size2"></div>
            </div>
            </br>
            <div class="body_Area">
               Browser Size:<br>
               <div id="size"></div>
               <br>
               <br>
               Screen Size
               <div id="size2"></div>
            </div>
         </article><!-- end of article -->

         <aside>
            <div class="body_Side"><img src="http://placehold.it/350x150" width="100" height="100px"></div>
            <div class="body_Side">Side 2</div>
         </aside><!-- end of #aside -->

      </section><!-- end of #section -->

      <footer>
         Site Contents/Media &copy; 2014 Company Name, Inc.&nbsp;&nbsp;All Rights Reserved.
      </footer>

   </div><!-- end of #page_Wrap -->

   </body>
              
            
!

CSS

              
                html,body,address,blockquote,div,
form,fieldset,caption,
h1,h2,h3,h4,h5,h6,
hr,ul,li,ol,ul,dd,dt,
table,tr,td,th,p,img
{
   margin: 0;
   padding: 0;
}

body
{
   color: #CF6;
   margin: 0 auto;
   font-size: 1.0em;
   max-width: 1280px;
   overflow-y: scroll;
   text-transform: uppercase;
   font-family: Arial, Helvetica, sans-serif;
   background: #777 url(../homepics/homeback.jpg) top center;
}

#head_Main
{
   height: 112px;
   border: 2px solid #444;
   margin-bottom: -116px;
   background: #555 url(../homepics/homemenu2.png) 0 0 repeat-x;
}

#page_Wrap
{
   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;

   -webkit-flex-flow: column;
   -moz-flex-flow: column;
   -ms-flex-flow: column;
   flex-flow: column;

   width: 92%;
   margin: 0 auto;
   display: block;
}

header
{
   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;

   -webkit-box-flex: 0;
   -moz-box-flex: 0;
   -ms-flex: 0;
   -webkit-flex: 0;
   flex: 0;

   min-height: 100px;
}

#head_Logo
{
   top: 0;
   width: 77px;
   height: 90px;
   background: url(../homepics/homelogo.png) 0 0 no-repeat;
}

#head_Area
{
   -webkit-box-flex: 2;
   -moz-box-flex: 2;
   -ms-flex: 2;
   -webkit-flex: 2;
   flex: 2;

   -webkit-flex-flow: column nowrap;
   -moz-flex-flow: column nowrap;
   -ms-flex-flow: column nowrap;
   flex-flow: column nowrap;

   min-width: 0;
}

#head_Info
{
   color: #0FF;
   height: 45px;
   line-height: 45px;
}

#head_News
{
   padding: 0 5px;
   font: bold 18px Arial, Helvetica, sans-serif;
}

#head_News li
{
   height: 45px;
   overflow: hidden;
   line-height: 45px;
   white-space: nowrap;
   text-overflow: ellipsis;
}

#head_Note
{
   top: 0;
   width: 77px;
   height: 90px;
   background: url(../homepics/homelogo.png) 0 0 no-repeat;
}

#page_Name
{
   -webkit-box-flex: 0 0 100px;
   -moz-box-flex: 0 0 100px;
   -ms-flex: 0 0 100px;
   -webkit-flex: 0 0 100px;
   flex: 0 0 100px;

   color: #FF0;
   padding: 0.5em;
   background: #333;
   margin-top: 8px;
   border-radius: 4px;
   text-transform: none;
   margin-bottom: 0.5em;
   border: 2px solid #444;
   font: bold 14px Arial, Helvetica, sans-serif;
}

section
{
   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;

   -webkit-box-flex: 1 0 auto;
   -moz-box-flex: 1 0 auto;
   -ms-flex: 1 0 auto;
   -webkit-flex: 1 0 auto;
   flex: 1 0 auto;

   -webkit-flex-direction: row;
   -moz-flex-direction: row;
   -ms-flex-direction: row;
   flex-direction: row;
}

article
{
   -webkit-box-flex: 1;
   -moz-box-flex: 1;
   -ms-flex: 1;
   -webkit-flex: 1;
   flex: 1;

   padding: 10px;
   background: #333;
   margin-right: 3px;
   margin-bottom: 8px;
   border-radius: 4px;
   border: 2px solid #444;
}

.body_Area
{
   -webkit-box-flex: 2;
   -ms-flex: 2 1 100%;
   -webkit-flex: 2 1 100%;
   flex: 2 1 100%;

   padding: 10px;
   border-radius: 4px;
   margin-bottom: -7px;
   border: 2px solid #1E1E1E;
   box-shadow: 0px 1px 1px #707070;
}

.body_Area:last-child
{
   margin-bottom: 2px;
}

aside
{
   -webkit-box-flex: 0 0 241px;
   -moz-box-flex: 0 0 241px;
   -ms-flex: 0 0 241px;;
   -webkit-flex: 0 0 241px;
   flex: 0 0 241px;

   margin-right: -5px;
}

.body_Side
{
   -webkit-box-flex: 1;
   -moz-box-flex: 1;
   -ms-flex: 1;
   -webkit-flex: 1;
   flex: 1;

   margin: 4px;
   padding: 5px;
   margin-top: 0px;
   background: #333;
   margin-bottom: 5px;
   border-radius: 4px;
   border: 2px solid #444;
}

footer
{
   -webkit-box-flex: 0 0 100px;
   -moz-box-flex: 0 0 100px;
   -ms-flex: 0 0 100px;
   -webkit-flex: 0 0 100px;
   flex: 0 0 100px;

   color: #0F0;
   padding: 0.5em;
   background: #333;
   text-align: center;
   border-radius: 4px;
   border: 2px solid #444;
   font: bold 14px Arial, Helvetica, sans-serif;
}




#head_Menu
{
   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;

   -webkit-box-flex: 1;
   -ms-flex: auto;
   -webkit-flex: auto;
   flex: auto;

   -webkit-box-pack: center;
   -ms-flex-pack: center;
   -webkit-justify-content: center;
   justify-content: center;

   height: 45px;
   margin: 0 auto;
   line-height: 45px;
}

#menu_Item
{

}

#menu_Item img
{
   display: none;
}

#menu_Item ul
{
   margin: 0;
   padding: 0;
}

#menu_Item ul li
{
   margin-top: 5px;
   position: relative;
   display: inline-block;
}

#menu_Item ul li a
{
   color: #999;
   margin: 0 3px;
   display: block;
   background: #222;
   border-radius: 4px;
   text-decoration: none;
   border: 1px solid #000;
   padding: 5px 0.75em 4px;
   font: bold 15px/17px Arial, Helvetica, sans-serif;
}

#menu_Item ul li a:hover
{
   color: #000;
   background: #999;
}

#menu_Item ul li.current a
{
   color: #FFF;
   cursor: default;
   pointer-events: none;
}

#head_Menu
{
   list-style: none;
   padding: 8px 90px 0 0; /* right == same as H1 width + margin! */
   text-align: center;
}

#page_Earn
{

}

#earn_Main
{
   display: block;
   max-width: 100%;
   height: auto;
   margin: 0.5em auto;
      z-index: -10; 
}

#earn_Cash
{
   display: block;
   max-width: 100%;
   height: auto;
   margin: 0.5em auto;
   margin-top: 0px;
   margin-bottom: 0px;
}


/* ********************************************************************************** */
/*                                                                                    */
/*  This is for screens equal to or less than 40em.                                   */
/*  Which currently equals 623px.                                                     */
/*                                                                                    */
/* ********************************************************************************** */
@media (max-width: 40em)
{

   #head_Menu
   {
      display: box;
      width: 200px;
      display: block;
      margin: 0 auto;

   }

   #menu_Item
   {

   }

   #menu_Item img
   {
      top: 14px;
      left: 10px;
      display: block;
      position: relative;

   }

   #menu_Item ul
   {
      margin: 0;
      padding: 0 5px;
      min-height: 38px;
      margin-top: -14px;
      border-radius: 4px;
      background: #4A4A4A;
      border: 1px solid green;

   }

   #menu_Item ul li
   {
      display: block;
      margin-left: 25px;
      margin-bottom: -33px;
      -webkit-transition: 0.5s;
      transition: 0.5s;

   }

   #menu_Item ul li a
   {
      color: green;
      font-weight: 700;


   }

   #menu_Item ul li.current
   {

      display: block;
      z-index: 1;
   }

   #menu_Item ul li:last-child
   {
      margin-bottom: 0px;

   }

   #menu_Item:hover ul li
   {
      margin-bottom: 10px;

   }

}
              
            
!

JS

              
                
              
            
!
999px

Console