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.wireframe
    div.w-dgray-wrap-browser
      div.w-b-red
      div.w-b-lgray
      div.w-b-green
      div.w-b-mgray-tab Portfolio x
    div.w-mgray-wrap-url     
    div.w-lgray-wrap-maincontent
      div.w-half
        div.w-logo Portfolio
        div.w-mgray-rectangle
        div.w-mgray-rectangle
        div.w-mgray-rectangle
        div.w-mgray-rectangle
        d.w-mgray-half-button Featured 
      div.w-half
        div.w-dgray-wrap-circle
    div.w-white-wrap-footercontent
         div.w-mgray-circle
         div.w-mgray-circle
         div.w-mgray-circle

              
            
!

CSS

              
                html {
  height: 100%;
}
body {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: #FEF2D8;
}
.wireframe {
  position: relative;
/** NEED it smaller? change these:**/
  width: 500px; 
  height: 625px;
  margin-top: 30%; /**** Remove this margin its just for codepen****/
  box-shadow: 5px 5px 5px 5px #eee;

  [class^="w-"] {
    float: left;
    display: block;
  }
  [class*="wrap"]  {
    width: 100% !important;
  }
  [class*="half"] {
    width: 40% !important;
    padding: 1% 5%;
    height: 100%;
    
    [class*="w-"] {
      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;
  }
  [class*="w-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;
  }
  [class*="content"] {
    height: 30%
  }
  [class*="main"] {
    animation: before-start 1s alternate ease-in-out;
  }
  [class*="footer"] {
    border-radius: 0px 0px 10px 10px;
    animation: before-start .8s alternate ease-in-out;
  }
  [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