Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save verioussmith/db555d21c68f8021bbeb7c7cf334b91d to your computer and use it in GitHub Desktop.
Save verioussmith/db555d21c68f8021bbeb7c7cf334b91d to your computer and use it in GitHub Desktop.

Revisions

  1. verioussmith created this gist Apr 10, 2024.
    7 changes: 7 additions & 0 deletions beautiful-aurora-footer-lights.markdown
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    Beautiful Aurora Footer Lights
    ------------------------------
    Beautiful Aurora lights display for footer.

    A [Pen](https://codepen.io/amyth91/pen/DzYGaK) by [Amit Ashok Kamble](https://codepen.io/amyth91) on [CodePen](https://codepen.io).

    [License](https://codepen.io/license/pen/DzYGaK).
    15 changes: 15 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    <article id="wrap">
    <article id="lightings">
    <section id="one">
    <section id="two">
    <section id="three">
    <section id="four">
    <section id="five">

    </section>
    </section>
    </section>
    </section>
    </section>
    </article>
    </article>
    243 changes: 243 additions & 0 deletions style.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,243 @@

    /* CSS Document */

    *
    {
    padding: 0px;
    margin: 0px;
    }

    html, body
    {
    background: #000;
    width: 100%;
    height: 100%;
    }

    #wrap
    {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0 auto 0 auto;
    overflow: hidden;
    }

    #lightings
    {
    bottom: -60px;
    position: absolute;
    width: 100%;
    }

    section
    {
    /*border-radius*/
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    height: 20px;
    width: 100%;
    position: relative;
    margin: auto;

    }

    #one
    {
    /*animation*/
    -webkit-animation: one 5s ease-in-out infinite alternate;
    -moz-animation: one 5s ease-in-out infinite alternate;
    -ms-animation: one 5s ease-in-out infinite alternate;
    -o-animation: one 5s ease-in-out infinite alternate;
    animation: one 5s ease-in-out infinite alternate;
    }
    @-webkit-keyframes
    one { from {
    -webkit-box-shadow: 0 0 250px 20px #473C78;
    }

    to { -webkit-box-shadow: 0 0 100px 15px #F72A3B; }
    }
    @-moz-keyframes
    one { from {
    -moz-box-shadow: 0 0 250px 20px #473C78;
    }

    to { -moz-box-shadow: 0 0 100px 15px #F72A3B; }
    }
    @-o-keyframes
    one { from {
    -o-box-shadow: 0 0 250px 20px #473C78;
    }

    to { -o-box-shadow: 0 0 100px 15px #F72A3B; }
    }

    @keyframes
    one { from {
    box-shadow: 0 0 250px 20px #473C78;
    }

    to {box-shadow: 0 0 100px 15px #F72A3B; }
    }

    #two
    {
    width: 90%;
    /*animation*/
    -webkit-animation: two 4s ease-in-out infinite alternate;
    -moz-animation: two 4s ease-in-out infinite alternate;
    -ms-animation: two 4s ease-in-out infinite alternate;
    -o-animation: two 4s ease-in-out infinite alternate;
    animation: two 4s ease-in-out infinite alternate;
    }
    @-webkit-keyframes
    two { from {
    -webkit-box-shadow: 0 0 250px 20px #18C499;
    }

    to { -webkit-box-shadow: 0 0 100px 15px #D8F05E; }
    }
    @-moz-keyframes
    two { from {
    -moz-box-shadow: 0 0 250px 20px #18C499;
    }

    to { -moz-box-shadow: 0 0 100px 15px #D8F05E; }
    }
    @-o-keyframes
    two { from {
    -o-box-shadow: 0 0 250px 20px #18C499;
    }

    to { -o-box-shadow: 0 0 100px 15px #D8F05E; }
    }

    @keyframes
    two { from {
    box-shadow: 0 0 250px 20px #18C499;
    }

    to { box-shadow: 0 0 100px 15px #D8F05E; }
    }

    #three
    {
    width: 80%;
    /*animation*/
    -webkit-animation: three 3s ease-in-out infinite alternate;
    -moz-animation: three 3s ease-in-out infinite alternate;
    -ms-animation: three 3s ease-in-out infinite alternate;
    -o-animation: three 3s ease-in-out infinite alternate;
    animation: three 3s ease-in-out infinite alternate;
    }
    @-webkit-keyframes
    three { from {
    -webkit-box-shadow: 0 0 250px 20px #FFDD00;
    }

    to { -webkit-box-shadow: 0 0 100px 15px #3E33FF; }
    }
    @-moz-keyframes
    three { from {
    -moz-box-shadow: 0 0 250px 20px #FFDD00;
    }

    to { -moz-box-shadow: 0 0 100px 15px #3E33FF }
    }
    @-o-keyframes
    three { from {
    -o-box-shadow: 0 0 250px 20px #FFDD00;
    }

    to { -o-box-shadow: 0 0 100px 15px #3E33FF }
    }

    @keyframes
    three { from {
    box-shadow: 0 0 250px 20px #FFDD00;
    }

    to { box-shadow: 0 0 100px 15px #3E33FF }
    }

    #four
    {
    width: 70%;
    /*animation*/
    -webkit-animation: four 2s ease-in-out infinite alternate;
    -moz-animation: four 2s ease-in-out infinite alternate;
    -ms-animation: four 2s ease-in-out infinite alternate;
    -o-animation: four 2s ease-in-out infinite alternate;
    animation: four 2s ease-in-out infinite alternate;
    }
    @-webkit-keyframes
    four { from {
    -webkit-box-shadow: 0 0 250px 20px #781848;
    }

    to { -webkit-box-shadow: 0 0 100px 15px #F2BBE9; }
    }
    @-moz-keyframes
    four { from {
    -moz-box-shadow: 0 0 250px 20px #781848;
    }

    to { -moz-box-shadow: 0 0 100px 15px #F2BBE9; }
    }
    @-o-keyframes
    four { from {
    -o-box-shadow: 0 0 250px 20px #781848;
    }

    to { -o-box-shadow: 0 0 100px 15px #F2BBE9; }
    }

    @keyframes
    four { from {
    shadow: 0 0 250px 20px #781848;
    }

    to { shadow: 0 0 100px 15px #F2BBE9; }
    }

    #five
    {
    width: 60%;
    /*animation*/
    -webkit-animation: five 1s ease-in-out infinite alternate;
    -moz-animation: five 1s ease-in-out infinite alternate;
    -ms-animation: five 1s ease-in-out infinite alternate;
    -o-animation: five 1s ease-in-out infinite alternate;
    animation: five 1s ease-in-out infinite alternate;
    }
    @-webkit-keyframes
    five { from {
    -webkit-box-shadow: 0 0 250px 20px #42F2A1;
    }

    to { -webkit-box-shadow: 0 0 100px 15px #F4F6AD; }
    }
    @-moz-keyframes
    five { from {
    -moz-box-shadow: 0 0 250px 20px #42F2A1;
    }

    to { -moz-box-shadow: 0 0 100px 15px #F4F6AD; }
    }
    @-o-keyframes
    five { from {
    -o-box-shadow: 0 0 250px 20px #42F2A1;
    }

    to { -o-box-shadow: 0 0 100px 15px #F4F6AD; }
    }

    @keyframes
    five { from {
    box-shadow: 0 0 250px 20px #42F2A1;
    }

    to { box-shadow: 0 0 100px 15px #F4F6AD; }
    }