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

              
                <html>

    <head>
        <title>Paridaiza</title>
        <link rel="stylesheet" type="text/css" href="css/style.css">
    </head>

    <body>
        <iframe src="https://codepen.io" border=0 frameborder=0 style="width: 100%; height: 100%;"></iframe>
        <div class="content">
            <div class="pupkin"></div>

            <div class="pup-light"></div>

            <div class="smoke1">
                <div class="s1"></div>
                <div class="s2"></div>
                <div class="s3"></div>
                <div class="s4"></div>
            </div>

            <div class="tree">
               <div class="smoke2 left">
                    <div class="s1"></div>
                    <div class="s2"></div>
                    <div class="s3"></div>
                    <div class="s4"></div>
                </div>

               <div class="smoke3 right">
                    <div class="s1"></div>
                    <div class="s2"></div>
                    <div class="s3"></div>
                    <div class="s4"></div>
                </div>
            </div>

        </div>
    </body>

</html>
              
            
!

CSS

              
                /*PAIRIDAIZA HALLOWEEN SMOKE TEST BY 1MD */
body{
    margin: 0;
    padding: 0;
    height: 100%;
    position: relative;
 background: #333; }

    /*ANNIMATIONS*/
    @keyframes light {
        0% { box-shadow: 0 0 150px 50px #fee508; }
        50% { box-shadow: 0 0 50px 50px #fee508; }
        100% { box-shadow: 0 0 150px 50px #fee508; }
        }

        @-webkit-keyframes light {
            0% { -webkit-box-shadow: 0 0 150px 50px #fee508; }
            50% {  -webkit-box-shadow: 0 0 50px 50px #fee508; }
            100% { -webkit-box-shadow: 0 0 150px 50px #fee508; }
            }

    @keyframes smoke {
        0% { transform: translateY( -0% ); }
        100% { transform: translateY( -150% ); }
        }

        @-webkit-keyframes smoke {
            0% { -webkit-transform: translateY( -0% ); }
            100% { -webkit-transform: translateY( -150% ); }
            }
    @keyframes smoke2 {
        0% { transform: translate( 100%,0% ); }
        100% { transform: translate( 0%, 25% ); }
        }

        @-webkit-keyframes smoke2 {
            0% { -webkit-transform: translate( 100%,0% ); }
            100% { -webkit-transform: translate( 0%, 25% ); }
            }

    @keyframes smoke3 {
        0% { transform: translate( -100%,0% ); }
        100% { transform: translate( 0%, 25% ); }
        }

        @-webkit-keyframes smoke3 {
            0% { -webkit-transform: translate( -100%,0% ); }
            100% { -webkit-transform: translate( 0%, 25% ); }
            }

    @keyframes smoke-opacity {
        0% {  opacity:1; }
        100% { opacity:0; }
        }

        @-webkit-keyframes smoke-opacity {
            0% {  opacity:1; }
            100% { opacity:0; }
            }

    /*CONTENT*/
    .content {
        visibility: hidden;
        opacity: 0;
        height: 100%;
        width: 100%;
        position: relative; }

        .pupkin {
            z-index: 10;
            position: fixed;
            bottom: 0;
            width: 728px;
            height: 466px;
            left: 50%;
            margin-left: -364px;
            background: transparent url("https://f.cl.ly/items/2j2G3e3d0I1j3P2p2z1d/pupkin.png") no-repeat center bottom; }

        .pup-light {
            height: 170px;
            width: 230px;
            position: fixed;
            bottom: 170px;
            z-index: 4;
            left: 50%;
            opacity: .7;
            background: #fee508;
            margin-left: -115px;
            -webkit-border-radius:200px;
               -moz-border-radius:200px;
                    border-radius:200px;
            -webkit-animation: light 4s infinite;
               -moz-animation: light 4s infinite;
                -ms-animation: light 4s infinite;
                 -o-animation: light 4s infinite;
                    animation: light 4s infinite; }

        .smoke1 {
            height: 400px;
            width: 400px;
            position: fixed;
            bottom: 200px;
            z-index: 5;
            left: 50%;
            margin-left: -200px; }

            .smoke1 .s1,
            .smoke1 .s2,
            .smoke1 .s3,
            .smoke1 .s4 {
                position: absolute;
                width: 100%;
                height: 400px;
                bottom: -200px;
                opacity: 0;
                -webkit-animation: smoke  6s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 6s infinite cubic-bezier(.45,.28,.63,.69);
                   -moz-animation: smoke  6s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 6s infinite cubic-bezier(.45,.28,.63,.69);
                    -ms-animation: smoke  6s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 6s infinite cubic-bezier(.45,.28,.63,.69);
                     -o-animation: smoke  6s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 6s infinite cubic-bezier(.45,.28,.63,.69);
                        animation: smoke  6s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 6s infinite cubic-bezier(.45,.28,.63,.69); }

            .smoke1 .s1,
            .smoke1 .s3 { background:transparent url("https://f.cl.ly/items/2I2p3j2P270Q3n2p3P2v/s3.png") no-repeat center top; }

            .smoke1 .s2,
            .smoke1 .s4 { background:transparent url("https://f.cl.ly/items/3n3H1p1A402F3C1M0o47/s4.png") no-repeat center top; }

            .smoke1 .s2 {
                -webkit-animation-delay: 1.5s;
                   -moz-animation-delay: 1.5s;
                    -ms-animation-delay: 1.5s;
                     -o-animation-delay: 1.5s;
                        animation-delay: 1.5s; }

            .smoke1 .s3 {
                -webkit-animation-delay: 3s;
                   -moz-animation-delay: 3s;
                    -ms-animation-delay: 3s;
                     -o-animation-delay: 3s;
                        animation-delay: 3s; }

            .smoke1 .s4 {
                -webkit-animation-delay: 4.5s;
                   -moz-animation-delay: 4.5s;
                    -ms-animation-delay: 4.5s;
                     -o-animation-delay: 4.5s;
                        animation-delay: 4.5s; }

        .tree {
            z-index: 3;
            position: fixed;
            height: 200px;
            width: 1600px;
            background: transparent url("https://f.cl.ly/items/2y3c0g3c2q44093o081M/bg2.png") no-repeat bottom center;
            margin-left: -800px;
            left: 50%;
            bottom: 0; }

        .smoke2,
        .smoke3 {
            height: 450px;
            width: 1000px;
            position: fixed;
            bottom: -225px;
            z-index: 5;
            overflow: hidden; }

            .smoke2.left {
                margin-left: -1000px;
                left: 50%; }

        .smoke3 { left: 50%; }

            .smoke2 .s1,
            .smoke2 .s2,
            .smoke2 .s3,
            .smoke2 .s4 {
                position: absolute;
                width: 100%;
                height: 100%;
                bottom: 0px;
                opacity: 0;
                -webkit-animation: smoke2  8s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 8s infinite cubic-bezier(.45,.28,.63,.69);
                   -moz-animation: smoke2  8s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 8s infinite cubic-bezier(.45,.28,.63,.69);
                    -ms-animation: smoke2  8s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 8s infinite cubic-bezier(.45,.28,.63,.69);
                     -o-animation: smoke2  8s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 8s infinite cubic-bezier(.45,.28,.63,.69);
                        animation: smoke2  8s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 8s infinite cubic-bezier(.45,.28,.63,.69);
                }
            .smoke2 .s1,
            .smoke2 .s3 { background: transparent url("https://f.cl.ly/items/0S0W3c2v071D2e2m292H/s1.png") no-repeat center top; }

            .smoke2 .s2,
            .smoke2 .s4 { background: transparent url("https://f.cl.ly/items/0y0q0B2o450D2B1N0D01/s2.png") no-repeat center top; }

            .smoke2 .s2 {
                -webkit-animation-delay: 2s;
                   -moz-animation-delay: 2s;
                    -ms-animation-delay: 2s;
                     -o-animation-delay: 2s;
                        animation-delay: 2s; }

            .smoke2 .s3 {
                -webkit-animation-delay: 4s;
                   -moz-animation-delay: 4s;
                    -ms-animation-delay: 4s;
                     -o-animation-delay: 4s;
                        animation-delay: 4s; }

            .smoke2 .s4 {
                -webkit-animation-delay: 6s;
                   -moz-animation-delay: 6s;
                    -ms-animation-delay: 6s;
                     -o-animation-delay: 6s;
                        animation-delay: 6s; }

            .smoke3 .s1,
            .smoke3 .s2,
            .smoke3 .s3,
            .smoke3 .s4 {
                position: absolute;
                width: 100%;
                height: 100%;
                bottom: 0px;
                opacity: 0;
                -webkit-animation: smoke3 8s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 8s infinite cubic-bezier(.45,.28,.63,.69);
                   -moz-animation: smoke3 8s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 8s infinite cubic-bezier(.45,.28,.63,.69);
                    -ms-animation: smoke3 8s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 8s infinite cubic-bezier(.45,.28,.63,.69);
                     -o-animation: smoke3 8s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 8s infinite cubic-bezier(.45,.28,.63,.69);
                        animation: smoke3 8s infinite cubic-bezier(.45,.28,.63,.69),
                                   smoke-opacity 8s infinite cubic-bezier(.45,.28,.63,.69); }
            .smoke3 .s1,
            .smoke3 .s3 { background: transparent url("https://f.cl.ly/items/1r2T153K3V2I0h293D0F/s5.png") no-repeat center top; }

            .smoke3 .s2,
            .smoke3 .s4 { background: transparent url("https://f.cl.ly/items/1r2T153K3V2I0h293D0F/s5.png") no-repeat center top; }

            .smoke3 .s2 {
                -webkit-animation-delay: 2s;
                   -moz-animation-delay: 2s;
                    -ms-animation-delay: 2s;
                     -o-animation-delay: 2s;
                        animation-delay: 2s; }

            .smoke3 .s3 {
                -webkit-animation-delay: 4s;
                   -moz-animation-delay: 4s;
                    -ms-animation-delay: 4s;
                     -o-animation-delay: 4s;
                        animation-delay: 4s; }

            .smoke3 .s4 {
                -webkit-animation-delay: 6s;
                   -moz-animation-delay: 6s;
                    -ms-animation-delay: 6s;
                     -o-animation-delay: 6s;
                        animation-delay: 6s; }

              
            
!

JS

              
                $(window).load(function(){
    
  $('.content').css('visibility', 'visible').animate({ opacity: 1 }, 500);
  
});
              
            
!
999px

Console