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.container
    div.row
      div.col-sm-12
  
        div.wireframe
            div.wf-dgray-wrap-browser
              div.wf-b-red
              div.wf-b-lgray
              div.wf-b-green
              div.wf-b-mgray-tab 
                p.left Portfolio
                p.right.x x 
              div.wf-b-mgray-tab 
                p.left Home
                p.right.x x 
            div.wf-mgray-wrap-url 
                p http://www.desaraev.com
            div.row
              div.col-sm-12    
                div.wf-lgray-wrap-maincontent
                  div.wf-half
                    div.wf-logo 
                    h1 Portfolio
                    h4 Case Study
                    div.wf-mgray-rectangle
                    div.wf-mgray-rectangle
                    div.wf-mgray-rectangle
                    div.wf-mgray-rectangle
                    d.wf-mgray-half-button     
                      p.left Featured Button 
                      div.arrow.arrow-1.right
                  div.wf-half
                    div.wf-dgray-wrap
                      h1 Example Image
                    div.wf-mgray-wrap
                      h4 Code Sample
                    div.wf-mgray-wrap
                      h4 Resources 
                div.wf-white-wrap-footercontent
                  div.wf-half
                     p Contact
                     p Copyright
                     p Less important links
                  div.wf-half
                     div.wf-mgray
                     div.wf-mgray
                     div.wf-mgray

              
            
!

CSS

              
                .wrap-wireframe {
    height: 400px;
    justify-content: center;
    align-items: center;
    background: #FEF2D8;
    padding: 50px;
    width: 40%;
    float: left;
    padding: 30px;
    margin: 20px 60px 20px 0px;
}
@media (max-width: 1200px) {
 .wrap-wireframe {
    height: 400px;
    justify-content: center;
    align-items: center;
    background: #FEF2D8;
    padding: 50px;
    width: 100%;
    float: left;
    padding: 0px;
    margin: 20px 60px 20px 0px;
 }
}
.right {
  float: right;
}
.wireframe {
  position: relative;
  width: 95%;
  height: 90%;
  box-shadow: 4px 9px 23px 8px #ddd;

  .row { 
    padding: 0px !important;
  }
  [class^="wf-"] {
    float: left;
    display: block;
  }
  [class*="wrap"]  {
    width: 100% !important;
  }
  [class*="half"] {
    width: 50% !important;
    padding: 1% 5%;
    height: 100%;
    
    [class*="wf-"] {
      width: 95%;
      clear: both;
      margin: 5px;
      padding: 2% 5%;
    }
    [class*="wrap"]  {
      width: 80% !important;
      height: 80% !important;
    }
  } 
  [class*="white"] {
    background: #fff;
  }
  [class*="green"] {
    background: #47cf73; /**green**/
  }
  [class*="lgray"] {
    background: #eee;
  }
  [class*="mgray"] {
    background: #ccc;
  }
  [class*="dgray"] {
    background: #444;
  }
  [class*="red"]  {
    background: #FF3C41;
  }
  [class*="browser"], [class*="url"]  {
    height: 4%;
    animation: before-start 1.5s alternate ease-in-out;
    padding: 5px 20px 0 20px;
  }
  [class*="browser"], [class*="url"], [class*="content"] {
    border-left: 1px solid #000;
    border-right:  1px solid #ccc;
  }
  [class*="url"] {
    
    p {
      background: #fff;
      padding: 0 20px;
      border-radius: 3px;
    }
  }
  [class*="wf-b-"] {
      margin: 5px;
      width: 5px;
      height: 5px;
      border-radius: 10px;
    }
  [class*="tab"]{
      padding: 2px 5px 13px 10px;
      width: 15%;
      border-radius: 5px 5px 0 0;
      font-size: .7rem;
    
    p {
      margin: 0 !important;
    }
    .x {
      padding: 0px 4px;
      background: #e4dddd;
      border-radius: 6px;
    }
  }
  [class*="content"] {
    height: 30%
  }
  [class*="main"] {
    animation: before-start 1s alternate ease-in-out;
  }
  [class*="footer"] {
    animation: before-start .8s alternate ease-in-out;
    border-bottom: 1px solid #ccc;
  }
  [class*="logo"] {
    margin: 5px 10px;
  }
  [class*="button"] {
    color: #fff;
    max-height: 15%;
  }
  [class*="circle"] {
    height: 60%;
    width: 25%;
    margin: 4%;
    border-radius: 65%;
    
    &::after {
      height: 25%;
      border-radius: 50px;
      content:"";
    }
  }
  [class*="rectangle"] {
    height: 1px;
    border: 1px solid #eee;
  }
}


@keyframes before-start {
	0% {transform: translateY(-50px)}
	100% {transform: translateY(0px)}
}
              
            
!

JS

              
                // not concluded
              
            
!
999px

Console