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

              
                <div id="topsection">
<div class='contai3' >
  <div class='row'>
    
    <div class='column'>
      <div class='green-column'>
<img src="https://via.placeholder.com/136x118?text=136x118">Our aims
      </div>
    </div>
    
    
    <div class='column'>
      <div class='blue-column'>
        Some Text in Column Two
      </div>
    </div>
        <div class='column'>
      <div class='orange-column'>
       <img src="https://via.placeholder.com/136x118?text=136x118">NHC 2
      </div>
    </div>
  </div>
</div>
  </div><!--contai3 end-->
<header class="navdown">
<div id="contai4">
<div class="menusquare">
<a href="#0" class="animateddrawer2" id="pr_ddsidemenubar-mobiletoggle" title="Klikaj mobilka 1 L"><span></span></a></div><!--lewe mobi-->
	<div class="menusquare"><!--pust--></div>
  
<div class="menusquare2"><button id="toggle" title="Switch language version">&nbsp;PL / ENG&nbsp;</button></div>
  
  
	<div class="menusquare"><!--pust--></div>
<div class="menusquare">
<a href="#0" class="animateddrawer" id="ddsidemenubar-mobiletoggle" title="Klikaj mobilka 2 P"><span></span></a></div><!--prawe mobi-->
</div><!--contai4 end-->
<div id="contai5" style="display:none;">
  
<div class="squaremobi"><a href="./english/mtkosciuszko-inc-aims.htm" class="openToDiv" title="Mount Kosciuszko Inc. - Our Aims"><img src="https://res.cloudinary.com/mtkosciuszko/image/upload/v1605015726/logosmall1.jpg" loading="lazy" width="68" height="50" title="Mount Kosciuszko Inc. our aims" alt="logo aims" /></a></div>
  
<div class="squaremobi flag1"><a href="#0" title="English v. mobi"><img src="https://res.cloudinary.com/mtkosciuszko/image/upload/v1512324686/2aust_ckxb8d.gif" width="50" height="36" loading="lazy" title="Browsing in English" alt="english v. mobi" /></a></div>
  
<div class="squaremobi flag-pl"><a href="welcome-pol.php" title="Switch to Polish v. mobi"><img src="https://res.cloudinary.com/mtkosciuszko/image/upload/v1512523614/2-pol_ltevwp.gif" loading="lazy" width="34" height="25" title="Switch to Polish v. mobi" alt="polish v. mobi" /></a></div>
  
<div class="squarenhc"><a href="./english/competition-nhc.htm" class="openToDiv" title="Strzelecki's place in Australian History"><img src="https://res.cloudinary.com/mtkosciuszko/image/upload/v1577826819/okrojone1.jpg" loading="lazy" width="68" height="50" title="Strzelecki's place in Australian History" alt="logo nhc" /></a></div>
  
</div><!--contai5 end-->
</header>




</div><!--topsection end-->
              
            
!

CSS

              
                #topsection{clear:both;
content:'';
  display:block;float:left;height:3.4375em;margin-top:0;padding:0;text-align:center;width:100%;vertical-align:top;
  
}
.contai3 {
  display: flex;
 top:0;
  background-color: red;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
 
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
  
  
}

.orange-column {
  background-color: orange;
  height: 118px;
  position: fixed; right: 90px;
}

.blue-column {
  background-color: blue;
  height: 118px;
}

.green-column {
  background-color: green;
  height: 118px;
  position: fixed; left: 90px;
  width: 136px
}
#contai4 {display:none;}
#contai5{display:none;}
.squaremobi{display:none;}
.squarenhc{display:none;}

header {height:3.4375em;position:fixed;top:0;transition:top .2s ease-in-out;width:96%;z-index:999;margin-right:5px}
.menusquare2 {display:inline-block;margin:1px;text-align:center;width:17%;}



@media (max-width:700px){
  
.contai3 {display:none;}
  
 #toggle {
 background:#785026;box-shadow:1px 1px 4px 4px grey;
 color:#FFF;
 cursor:pointer;
 font:700 14px/1.3 Verdana, Arial;
 height:45px;
margin-top:.4em ;
vertical-align:top;
width:4.55em;}
  
.square1{display:none;}
  
#contai4 {background:#ccc;display:inline-block;height:58px;text-align:center;width:100%;top:0}
  
#contai5 {background:#1B120D;border-bottom:5px solid #B58B48;border-top:1px solid #C4A26C;clear:both;display:inline-block;float:left;height:55px;position:relative;text-align:center;vertical-align:top;width:100%;}
  
 .square {display:none;}
  
.squaremobi, .squarenhc {display:inline-block;visibility:visible;width:20%;}
  
  }


@media (max-width:600px) {.contai3 {display:none;}
/*#toggle{line-height:1.12;padding:0.3125em;}*/
.contai3 {display:none;}
.square1{display:none;}
#contai4 {background:lightblue;display:inline-block;}
#contai5 {display:inline-block;}
.square {display:none;}

}
              
            
!

JS

              
                
$("#toggle").on("click", function(){
  $("#contai5").toggle();
  // .fadeToggle() // .slideToggle()
});

              
            
!
999px

Console