cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation

     

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.

            
              .grid
  
  %header.page-header.full-width
    %nav.navbar
      %ul
        %li 
          %h1 Brand
      %ul
        %li About
  %aside.sidebar.left-sidebar
    %h1 Left Sidebar
    %ul.bullets
      %li list item 1
      %li list item 2
      %li list item 3
  %main.main-content
    %h1 Main Content
    %p Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet at ad harum facere, in veritatis rem ratione corporis explicabo illo dolorem, doloribus eius libero unde quia, sint accusantium eveniet vitae!
    
    %p Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto vel saepe nostrum illum nemo blanditiis expedita doloremque accusamus, earum quia. Doloremque quo numquam assumenda temporibus deleniti expedita inventore, omnis neque?
    
    %p Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto vel saepe nostrum illum nemo blanditiis expedita doloremque accusamus, earum quia. Doloremque quo numquam assumenda temporibus deleniti expedita inventore, omnis neque?
    
    %p Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto vel saepe nostrum illum nemo blanditiis expedita doloremque accusamus, earum quia. Doloremque quo numquam assumenda temporibus deleniti expedita inventore, omnis neque?

  %aside.sidebar.right-sidebar
    %h1 Right Sidebar
    %p 
      Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sequi similique impedit quas est vel, debitis ducimus quod. 
  %footer.page-footer.full-width
    .col1
      %ul
        %li About
        %li Contact
        %li Jobs
    .col2
      %ul
        %li Products
        %li Services
        %li Support
        %li Prices
        %li Developers
    .col3
      %ul
        %li Twitter
        %li Facebook
        %li LinkedIn
        %li Instagram
            
          
!
            
              *
  box-sizing: box-border
  font-family: "Helvetica Neue" !important
  font-size: 18px !important
body
  line-height: 1.2
  background-color: red
h1,h2,h3,h4,h5,h6
  font-weight: bold
  margin-bottom: 0.6em
p
  margin-bottom: 0.6em
.grid
  display: grid
  grid-template-columns: 1fr 5fr 1fr
  grid-template-rows: repeat(3, auto)
  justify-items: stretch
  align-items: stretch
  height: 100%
  
.full-width
  grid-column: 1 / 4
  height: 100%
 
.navbar
  background-color: rebeccapurple
  color: mintcream
  display: flex
  justify-content: space-between
  align-items: center
  padding: 1em 0
  ul
    list-style: none
    margin-left: 2em
    li
      margin-right: 2em
      h1
        margin-bottom: 0
      
.sidebar
  background-color: seashell
  color: slategrey
  padding: 0 1em
  height: 100%

.main-content
  padding: 0 1em
  background-color: mintcream
  color: slategrey
  height: 100%
  
.page-footer
  display: flex
  justify-content: space-around
  align-items: top
  background-color: slategrey
  color: mintcream
  padding: 0.6em 0
  
ul.bullets
  list-style: disc
  margin-left: 1em
            
          
!
999px
Loading ..................

Console