Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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

              
                section.applications
  div.container
    div(class="row cont")

      div.col-md-4
        div.button1
           p.text Read More
            span.icon 
              i(class="fas fa-caret-right")  
      div.col-md-4
        div.button2
          p.text Read More
            span.icon 
            i(class="fas fa-caret-right")            
      div.col-md-4
        div.button3
          div.icon 
            i(class="fas fa-caret-right")
      div.col-md-4
        div.button4 Back
      div.col-md-4
        div.button5 Next

      div.col-md-4
        div.button6     
          p.text Send E-mail
            span.icon 
             i(class="far fa-envelope")
      div.col-md-4
        div.button7  Sign up   
          span.icon 
            i(class="fas fa-plus") 
      div.col-md-4
        div.button8     
          p.text Save
      div.col-md-4
        div.button9 Save    
          p.text  Click here       
      div.col-md-4
        div.button10 More    
          span.icon 
            i(class="fas fa-caret-right")                               
      div.col-md-4
        div.button11 More    
          span.icon 
            i(class="fas fa-caret-right")
      div.col-md-4
        div.button12    
         span( class="icon") 
           i(class="far fa-envelope")
      div.col-md-4
        div.button13 Accept
      div.col-md-4
        div.button14     
          p.text Buy New!
            span.icon 
              i(class="fas fa-shopping-cart")    

              
            
!

CSS

              
                body {
    background-color: #353535;
}

.cont {
    margin-top: 40px;
    .col-md-4 {
        margin: 25px 0;
    }
    .button1 {
        border-width: 10px;
        border-style: solid;
        border-radius: 50px;
        width: 220px;
        margin: auto;
        cursor: pointer;
        border-image: linear-gradient(to left, #743ad5 0%, #d53a9d 100%);
        border-image-slice: 1;
        
        &:hover {
            border-image: linear-gradient(to left, #d53a9d 0%,  #743ad5 100%);
            border-image-slice: 1;
        }
        .text {
            margin: 10px;
            background-color: #fff;
            width: 180px;
            height: 40px;
            font-size: 22px;
            font-weight: bold;
            line-height: 40px;
            letter-spacing: 1.8px;
            text-align: center;
            font-family: 'Open Sans Condensed', sans-serif;
            .icon {
                margin-left: 10px;
            }
        }
    }
    .button2 {
        background: linear-gradient(to left, #743ad5 0%, #d53a9d 100%);
        margin: auto;
        width: 220px;
        border-radius: 50px;
        height: 80px;
        cursor: pointer;
        transition: all .8s ease-in-out;
        &:hover {
            background: linear-gradient(to left, #d53a9d 0%,  #743ad5 100%);
        }
        .text {
            margin: auto;
            background-color: #fff;
            border: 10px solid #353535;
            width: 200px;
            border-radius: 50px;
            font-size: 22px;
            font-weight: bold;
            line-height: 40px;
            letter-spacing: 1.8px;
            text-align: center;
            transform: translateY(10px);
            font-family: 'Open Sans Condensed', sans-serif;
            .icon {
                margin-left: 10px;
            }
        }
    }
    .button3 {
        margin: auto;
        background: linear-gradient(to left, #743ad5 0%, #d53a9d 100%);
        width: 75px;
        border-radius: 50%;
        height: 75px;
        transition: all .5s ease-in-out;
        &:hover {
             background: linear-gradient(to left, #d53a9d 0%,  #743ad5 100%);
        }
        .icon {
            border: 7px solid #353535;
            margin: auto;
            background-color: #fff;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            line-height: 60px;
            text-align: center;
            transform: translateY(7px);
            i {
                font-size: 30px;
                margin-left: 5px;
            }
        }
        &:hover .icon {
            background-color: #d8d8d8;
            box-shadow: inset 3px -3px 5px #7b7b7b;
        }
    }
    .button4 {
        margin: auto;
        background-color: #fff;
        width: 100px;
        text-align: center;
        font-size: 22px;
        border-radius: 0 50px 50px 0;
        position: relative;
        cursor: pointer;
        transition: all .5s ease-in-out;
        &::after {
            content: "\f100";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            color: #353535;
            position: absolute;
            top: 0;
            left: -55px;
            background:  linear-gradient(to bottom, rgba(3,170,231,1) 0%, rgba(0,192,226,1) 100%);
            border-radius: 50px 0 0 50px;
            width: 50px;
            height: 100%;
        }
        &:hover {
            background-color: #999;
        }
    }
    .button5 {
        margin: auto;
        background-color: #fff;
        width: 100px;
        text-align: center;
        font-size: 22px;
        border-radius: 50px 0 0 50px ;
        position: relative;
        cursor: pointer;
        transition: all .5s ease-in-out;
        &::after {
            content: "\f101";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            color: #353535;
            position: absolute;
            top: 0;
            right: -55px;
            background:linear-gradient(to bottom, rgba(253,160,0,1) 0%, rgba(255,91,132,1) 100%);
            border-radius: 0 50px 50px 0;
            width: 50px;
            height: 100%;
        }
    }
    .button6 {
        background: linear-gradient(to bottom, #fda000 0%, #ff5b84 100%);
        width: 200px;
        margin: auto;
        border-radius: 50px;
        height: 70px;
        .text {
            background-color: #fff;
            width: 180px;
            margin: auto;
            text-align: center;
            font-size: 22px;
            border: 7px solid #353535;
            font-weight: bold;
            line-height: 40px;
            letter-spacing: 1.8px;
            padding: 0;
            border-radius: 50px 0 0 50px;
            transform: translateY(7px);
            font-family: 'Open Sans Condensed', sans-serif;
            .icon {
                position: absolute;
                background-color: #fff;
                border-radius: 50%;
                margin-left: 0px;
                margin-top: -10px;
                width: 60px;
                height: 60px;
                text-align: center;
                font-size: 30px;
                line-height: 60px;
                color: darkorange;
                z-index: 2;
            }
        }
    }
    .button7 {
        background: linear-gradient(to bottom, #fda000 0%, #ff5b84 100%);
        width: 200px;
        padding: 5px;
        margin: auto;
        border-radius: 30px 30px 0 0;
        margin: auto;
        text-align: center;
        font-size: 22px;
        font-weight: bold;
        text-transform: uppercase;
        color: #fff;
        position: relative;
        
        .icon {
            margin-left: 20px;
        }
        &::after {
            content: "";
            position: absolute;
            bottom: -14px;
            left: 0;
            width: 100%;
            height: 8px;
            background-color: #fff;
        }
        &::before {
            content: "";
            position: absolute;
            bottom: -34px;
            right: 20px;
            border-width: 10px;
            border-style: solid;
            border-color: #fff transparent transparent transparent;
        }
    }
    .button8 {
        width: 180px;
        height: 30px;
        margin: auto;
        background-color: #03aae7;
        text-align: center;
        border-radius: 50px;
        position: relative;
        .text {
            background-color: #fff;
            width: 100px;
            margin: auto;
            text-align: center;
            position: relative;
            top: -25px;
            border: 7px solid #353535;
            padding: 3px;
        }
        &::after {
            content: "";
            position: absolute;
            bottom: -20px;
            right: 45%;
            border-width: 10px;
            border-style: solid;
            border-color: #03aae7 transparent transparent transparent;
        }
    }
    .button9 {
        background: linear-gradient(to bottom, #743ad5 0%, #d53a9d 100%);
        width: 200px;
        height: 50px;
        margin: auto;
        text-align: center;
        border-radius: 5px;
        color: #fff;
        font-size: 22px;
        .text {
            background-color: #fff;
            border: 5px solid #353535;
            position: relative;
            bottom: 0;
            width: 100px;
            margin: auto;
            color: #000;
            font-size: 16px;
        }
    }
    .button10 {
        background: linear-gradient(to bottom, #743ad5 0%, #d53a9d 100%);
        color: #fff;
        width: 125px;
        margin: auto;
        text-align: center;
        text-transform: uppercase;
        border-radius: 50px;
        border: 5px solid #353535;
        box-shadow: 0px 0px 0px 3px white;
        cursor: pointer;
        transition: all .5s ease-in-out;
        .icon {
            margin-left: 20px;
        }
        &:hover {
            background: linear-gradient(to bottom, #d53a9d 0%, #743ad5 100%);
        }
    }
    .button11 {
        background: linear-gradient(to bottom, #fda000 0%, #ff5b84 100%);
        color: #fff;
        width: 125px;
        margin: auto;
        text-align: center;
        text-transform: uppercase;
        border-radius: 50px;
        border: 3px solid #fff;
        cursor: pointer;
        transition: all .5s ease-in-out;
        position: relative;
        &::before {
            content: "";
            background-color: #fff;
            width: 50px;
            border-radius: 50px;
            height: 126%;
            position: absolute;
            top: -3px;
            right: -20px;
            Z-INDEX: -1
        }
        .icon {
            position: absolute;
            color: #353535;
            right: -13px;
        }
    }
    .button12 {
        margin: auto;
        text-align: center;
        background: linear-gradient(to bottom, #fda000 0%, #ff5b84 100%);
        width: 60px;
        border-radius: 50px;
        height: 60px;
        line-height: 65px;
        .icon {
           font-size: 22px;
            color: orangered;
            background-color: #fff;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            line-height: 40px;
            border: 5px solid #353535;
            display: inline-block;
        }
    }
    .button13 {
        margin: auto;
        background:linear-gradient(to left, rgba(253,160,0,1) 0%, rgba(255,91,132,1) 100%);
        color: #fff;
        text-transform: uppercase;
        width: 150px;
        text-align: center;
        font-size: 22px;
        border-radius: 25px 0 0 0 ;
        position: relative;
        cursor: pointer;
        transition: all .5s ease-in-out;
        &::after {
            content: "\f00c";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            color: #353535;
            position: absolute;
            top: 0;
            right: -55px;
            background-color: #fff;
            border-radius: 0 50px 50px 0;
            width: 50px;
            height: 100%;
        }
    }
    .button14 {
        margin: auto;
        text-align: center;
        .text {
            margin: auto;
            text-align: center;
            width: 150px;
            background:linear-gradient(to left, #d53a9d 0%, #743ad5 100%); 
            color: #fff;
            font-size: 20px;
            text-transform: uppercase;
            border-radius: 50px;
            position: relative;
            .icon {
                position: absolute;
                background-color: #fff;
                color: #743ad5;
                width: 55px;
                height: 55px;
                border-radius: 50%;
                line-height: 50px;
                top: -15px;
                right: -30px;
                border: 5px solid #353535;
                i {
                    font-size: 22px;
                }
                    
                
            }    
        }
    }
}
              
            
!

JS

              
                
              
            
!
999px

Console