Socket
Socket
Sign inDemoInstall

html5-marquee

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    html5-marquee

HTML5 marquee tag implementation in pure CSS3


Version published
Weekly downloads
37
increased by37.04%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

HTML5 MARQUEE npm version

HTML5 marquee logo

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/.

Keywords

FAQs

Last updated on 27 Nov 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc