0.2.0 • Published 10 years ago

html5-marquee v0.2.0

Weekly downloads
32
License
GPL-3.0+
Repository
github
Last release
10 years ago

HTML5 MARQUEE npm version

Are you missing good-old feel to your pages? Missing something form the past?

This is a (deprecated) <marquee></marquee> tag implementation in HTML5 using pure CSS3 animations. Please see live demo here.

Installation

  • Bower: bower install html5-marquee
  • NPM: npm install html5-marquee

Usage

Simple usage:

<div class="marquee" data-marquee="Text contents"></div>

Adjust marquee speed:

CSS ClassDelay
.marquee-speed-drowsy30s
.marquee-speed-slow20s
.marquee-speed-normal10s (default)
.marquee-speed-fast7s
.marquee-speed-swift5s
.marquee-speed-hyper2s

Custom speed:

Inherits the speed from the class or inline style

CSS ClassDelay
.marquee-speed-custominherit

Adjust direction:

CSS Class
.marquee-direction-leftRight to left (default)
.marquee-direction-rightLeft to right
.marquee-direction-alternateAlternate movement

Adjust direction:

CSS Class
.marquee-direction-leftRight to left (default)
.marquee-direction-rightLeft to right
.marquee-direction-alternateAlternate movement

Vintage effect:

CSS Class
.marquee-movement-smoothSmooth animation (default)
.marquee-movement-steps20Jamming animation
.marquee-movement-steps10Jamming animation

Building

Requirements:

  • Node.js
  • NPM
  • GNU Make
make

This will create css directory.

Free license: GNU GPLv3+

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

0.2.0

10 years ago

0.1.2

10 years ago

0.1.0

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago