A Vanilla Web Component to resurrect our dearly beloved and sorely missed <marquee>
element
Installation
npm i @vanillawc/wc-marquee
Then import the index.js
file at the root of the package.
Usage
Attributes
party
- enable party mode
Basic Usage
<wc-marquee>
This text will marquee across the screen
</wc-marquee>
Party Mode
<wc-marquee party>
This will demonstrate the resplendent joy of HTML in its prime
</wc-marquee>
Styling
Styling can be done using standard css attributes.
<wc-marquee style="font-family: sans-serif;">
This will demonstrate the resplendent joy of HTML in its prime
</wc-marquee>
Demos