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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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.

            
              mixin feature()
  .feature
    h3 Lorem ipsum dolor
    p  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio error fugiat voluptates mollitia nihil illum, quos aperiam cupiditate at sint molestiae. Accusamus libero illum, voluptates fugiat repudiandae consectetur unde necessitatibus!





header
  .nav
    a.home(href="")
      svg(width='6em', height='6em')
        circle(cx='3em', cy='3em', r='3em', fill='#FFF2E9')
        text(text-anchor='middle', x='50%', y='50%', dy='.4em', fill='#FFF', font-size='3.4em') Z
    nav
      for item in ['Work','About','Contact']
        a(href="#") #{item}

  .caption
    h1 If it
    h2 has a screen, we’re on it.
    p We work with businesses of all shapes and sizes to help bring ideas to life across all of the devices in our lives

  .list
    +feature()
    +feature()
    +feature()

  
  
    
            
          
!
            
              /*
Roboto+Condensed:700,300|Roboto:100,300|Rubik:900,700,300
font-family: 'Rubik', sans-serif;
font-family: 'Roboto', sans-serif;
font-family: 'Roboto Condensed', sans-serif;
*/


:root  
  font-size calc(.8vw + 1vh + .2vmin)

body
  margin 0
  font 300 1em/1.4 'Roboto', sans-serif
  
  @media (min-width 920px)
    font-size .8rem
    //line-height 1.8em
  
p 
  color grey
  // @media (min-width 920px)
  //   font-size 80%
  //   line-height 1.8em
  
h1,h2,h3
  font-family 'Rubik', sans-serif
  

  
.nav
  margin 1em 0 2em
  
  display flex
  align-items center
  justify-content space-between
  

  nav
    width 50%
    
    display flex
    flex-wrap wrap
    justify-content space-around

    a
      font-size 1.2em
      padding 0 2em 1em
      color #444
      //text-decoration none
      font-family 'Rubik', sans-serif
      font-weight 700
      // &:hover
      //   background #000
    
.home:hover
  circle
    transition fill .5s
    fill #3DAFCA


    
    
    
    
    
 
  
header
  min-height 100vh
  display flex
  flex-direction column
  justify-content space-around
  
  
  padding 0 4% //2em //1.4em
  
  margin auto
  max-width 1280px
  
  
.caption
  font-size 1.8em
  margin-bottom .5em
  h1,h2
    margin 0
  h2
    line-height 1
  
  
    
.list
  align-self flex-end  
  display flex
  justify-content space-between
  
  
  @media (max-width 540px)
    flex-wrap wrap

  h3
    color #4d4d4d
  .feature
    padding 0 1.4em
    border-left 1px solid #8995A2
    margin-bottom 2em
    // &:last-child
    //   border-right 1px solid #8995A2
  
  
            
          
!
999px
Loading ..................

Console