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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <h1>Don't Worry<span>And</span></h1>
<section>
   <div></div>
   <div></div>
   <span id="ribbon">
         <span id="content">Happy New Year</span>
   </span>
</section>
            
          
!

CSS

            
              /*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 27/12/2017, 14:19:10
    Author     : isac
*/
@import url('https://fonts.googleapis.com/css?family=Amatic+SC:400,700');
@import url(https://fonts.googleapis.com/css?family=Patua+One);

$colorOne: #ffa73d;
$colorTwo: sienna;
$colorThree: bisque;
$incline: 10deg;
$gradiente: white 0%, white 20%, $colorThree 50%, white 51%, white 53%, $colorTwo 53%, $colorTwo 100%;

body {
    font-family: 'Amatic SC', cursive;
    margin: 15vh auto 5vh;
    text-align: center;
}

section {
    background: radial-gradient(grey 50%, transparent 50.5%);
    height: 400px;
    margin: 0 auto;
    width: 400px;
    
    div {
        background: linear-gradient(145deg, $gradiente);
        border: solid white 5px;
        border-radius: 0em 0em 50em 50em;
        box-shadow: -5px -30px 60px $colorOne inset;
        height: 200px;
        margin: 0 auto;
        position: relative;
        transform: rotate($incline);
        width: 80px;

        &::before, &::after {
            background-color: white;
            content: "";
            display: block;
            left: -1px;
            position: relative;
        }

        &::before {
            border-bottom: none;
            border-top: none;
            height: 100px;
            margin: 0 38px;
            top: 203px;
            width: 5px;
            z-index: 11;
        }

        &::after {
            height: 5px;
            top: 198px;
            width: 80px;
        }

        &:first-of-type {
            left: -55px;
        }

        &:last-of-type {
            background: linear-gradient(-145deg, $gradiente);
            right: -55px;
            top: -210px;
            transform: rotate(-$incline);
        }
    }
}
#ribbon {
    padding: .34em 1em;
    margin: 0;
    position:relative;
    top: -200px;
    color: #ffffff;
    font:{
        family: "Patua One", sans-serif;
        size:32px;
        weight: 700;
    }
    text-align: center;
    letter-spacing:0.1em;
    text-shadow: 0px -1px 0px rgba(0,0,0,0.3);
    box-shadow: inset 0px 1px 0px rgba(255,255,255,.3),
                            inset 0px 0px 20px rgba(0,0,0,0.1),
                            0px 1px 1px rgba(0,0,0,0.4);
    background: -webkit-linear-gradient(top,#1eb2df, #1eb2df);
    display: inline-block;
}
	
#ribbon:before, #ribbon:after {
    content: "";
    width:.2em;
    bottom:-.5em;
    position:absolute;
    display:block;
    border: .9em solid #1eb2df;
    box-shadow:0px 1px 0px rgba(0,0,0,0.4);
}
	
#ribbon:before {
    left:-1.35em;
    border-right-width: .75em;
    border-left-color:transparent;
}

#ribbon:after {
    right:-1.35em;
    border-left-width: .75em;
    border-right-color:transparent;
}

#content:before, #content:after {
    content:"";
    bottom:-.5em;
    position:absolute;
    display:block;
    border-style:solid;
    border-color: #0675b3 transparent transparent transparent;
    z-index: 1;
}

#content::before {
    left: 0;
    border-width: .5em 0 0 .5em;
}

#content::after {
    right: 0;
    border-width: .5em .5em 0 0;
}

h1 {
    font-size: 62px;
    margin-bottom: 0;
    
    span {
        display: block;
        font-size: 42px;
        
        &::before {
            background: bisque;
            border-radius: 50%;
            content: "";
            display: inline-block;
            height: 7px;
            width: 7px;
            box-shadow:
                -100px -100px 0px lightgreen,
                -200px -10px 0px $colorOne,
                -150px 10px 0px blueviolet,
                -40px -40px 0px violet,
                150px -60px 0px $colorOne,
                200px 50px 0px lightpink,
                150px 80px 0px lightgreen,
            
                -220px -220px 0px gold,
                -180px 50px 0px violet,
                -100px 110px 0px goldenrod,
                60px 160px 0px $colorOne,
                150px -60px 0px lightpink,
                190px 150px 0px plum,
                150px 10px 0px $colorOne, 
                
                -100px -10px 0px lightgreen,
                -190px 130px 0px $colorOne,
                -150px 210px 0px blueviolet,
                -140px 130px 0px violet,
                -120px 60px 0px greenyellow,
                200px 110px 0px lightgreen,
                150px 80px 0px lightgreen,
            
                100px -80px 0px violet,
                180px -10px 0px violet,
                -100px 110px 0px goldenrod,
                60px 160px 0px $colorOne,
                0px -60px 0px lightpink,
                80px -10px 0px plum,
                230px 10px 0px $colorOne;
        }
        
        &::after {
            background: radial-gradient( lightgray 10%, transparent 80% );
            border-radius: 50%;
            content: "";
            display: block;
            height: 30px;
            margin: 0 auto;
            position: relative;
            top: 410px;
            width: 250px;
        }
    }
}
            
          
!

JS

            
              
            
          
!
999px

Console