Skip to content

Instantly share code, notes, and snippets.

@xyztlp
Forked from CodeMyUI/index.jade
Created June 16, 2023 14:38
Show Gist options
  • Select an option

  • Save xyztlp/6281ef98d1a9ab1ce78e07dead913f47 to your computer and use it in GitHub Desktop.

Select an option

Save xyztlp/6281ef98d1a9ab1ce78e07dead913f47 to your computer and use it in GitHub Desktop.

Revisions

  1. @CodeMyUI CodeMyUI created this gist Oct 24, 2016.
    12 changes: 12 additions & 0 deletions index.jade
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    #demo
    span.color-1 H
    span.color-2 e
    span.color-3 l
    span.color-4 l
    span.color-1 o
    span.color-2 &nbsp

    span.color-2 Y
    span.color-3 o
    span.color-4 u
    span.color-1 !
    8 changes: 8 additions & 0 deletions script.babel
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    var letters = $('#demo span');

    TweenMax.staggerFrom(
    letters,
    0.25,
    { opacity:0, y: 200, ease: Back.easeOut },
    0.08
    );
    2 changes: 2 additions & 0 deletions scripts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js"></script>
    7 changes: 7 additions & 0 deletions stagger-text-animation-gsap.markdown
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    Stagger Text Animation - GSAP
    -----------------------------
    A silly little animation inspired by the awesome nuageapp.com website.

    A [Pen](http://codepen.io/simonswiss/pen/dpQmdy) by [Simon Vrachliotis](http://codepen.io/simonswiss) on [CodePen](http://codepen.io/).

    [License](http://codepen.io/simonswiss/pen/dpQmdy/license).
    23 changes: 23 additions & 0 deletions style.stylus
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@

    @import url('https://fonts.googleapis.com/css?family=Bungee+Inline')

    body
    font-family 'Bungee Inline', sans-serif

    #demo
    display flex
    justify-content center
    align-items center
    position absolute
    top 0
    left 0
    height 100%
    width 100%
    span
    font-size 10vw
    font-weight 400

    .color-1 { color: tomato }
    .color-2 { color: #bada55 }
    .color-3 { color: deeppink }
    .color-4 { color: #0099aa }