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. 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


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 class="full-menu">
  <div class="full-menu--middle">
    <button class="menu-toggle menu-toggle--close"></button>
    <ul class="main-nav">
      <li><a href="#">Home</a></li>
      <li><a href="#">About</a></li>
      <li><a href="#">Work</a></li>
      <li><a href="#">Contact</a></li>
    </ul><!-- /.main nav -->
  </div><!-- /.full menu middle -->
</div><!-- /.full menu -->

<div class="content">
  <button class="menu-toggle">Open full-screen navigation here</button>
  <h1>Simple full-screen navigation menu</h1>
  <p>This is simple full-screen navigation menu build on HTML, LESS and jQuery. You can use it as a starter full-screen navigation template for your next project. If you want to see compiled version of LESS just click on <i>"View Compiled"</i> button in CSS section. In CSS there are comments that highlight what's important to include. There is a full tutorial on how to use this full-screen navigation menu at, just click on button bellow to read full article.</p>
  <a href="" class="btn btn--transition">Read more on</a>
</div><!-- /.content -->


 * Body and Main styles
 * ----------------------
 * Styles under "Body and Main styles"
 * are not important for full-screen
 * navigation and it's functionalities.

@primary-color: #ffd200;
@secondary-color: #00174f;

  color: #fff;
  background-color: @secondary-color;  
  font-family: 'Open sans', Helvetica, sans-serif;
  padding: 50px 60px;

  font-size: 45px;
  color: @primary-color;

p, a{
  font-size: 17px;
  line-height: 29px;
  font-weight: 300;
  letter-spacing: 0.5px;

  color: #3498db;
  text-decoration: none;

  outline: none;

  background-color: @primary-color;
  color: @secondary-color;
  display: inline-block;
  text-decoration: none;
  padding: 13px 30px;
  margin: 30px 0 0 0;
  border-radius: 3px;
  font-weight: bold;
    background-color: #fff;

  -webkit-transition: -webkit-transform .2s; 
  -webkit-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;

  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
    margin: 0 0 30px 0;
      font-size: 60px;
      color: #000;
      font-weight: bold;
      line-height: 80px;
      &:hover, &:focus{
        border-bottom: 7px solid #000;

 * Full menu
 * ----------
 * Styles in this section are very
 * important and you have to implement
 * them if you want for your
 * navigation to work properly.

  visibility: hidden;
  display: table;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  background-color: rgba(256, 256, 256, 0.92);
  -webkit-transform: scale(0.85);
  -ms-transform: scale(0.85);
  transform: scale(0.85);

  visibility: visible;
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);

  -webkit-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;

  display: table-cell;
  vertical-align: middle;

  border: 0;
  color: #fff;
  background-color: transparent;
    content: '\f0c9';
    font-family: 'FontAwesome';
    margin: 0 20px 0 0;

  position: absolute;
  top: 30px;
  right: 30px;
    content: '\f00d';
    color: #000;
    font-size: 40px;
    margin: 0;


 * Icon
 * --------
 * This code toggle classes for
 * our navigation.

$('.menu-toggle').on('click', function(){