Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save webantam43/b378dc51a8097238c117770a4dae8bcc to your computer and use it in GitHub Desktop.

Select an option

Save webantam43/b378dc51a8097238c117770a4dae8bcc to your computer and use it in GitHub Desktop.

Revisions

  1. webantam43 created this gist Jan 25, 2025.
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    /* anh motobike tet */
    .webantam-motobike-tet{
    animation: motorbikeAnimation 24s infinite ease-in-out;
    }
    @keyframes motorbikeAnimation {
    0% {
    left: 0;
    transform: scaleX(1)
    }

    49% {
    left: calc(100% - 80px);
    transform: scaleX(1)
    }

    50% {
    left: calc(100% - 80px);
    transform: scaleX(-1)
    }

    51% {
    left: calc(100% - 80px);
    transform: scaleX(-1)
    }

    100% {
    left: 0;
    transform: scaleX(-1)
    }
    }
    /* anh motobike tet end*/