Skip to content

A vanilla web component blink element

License

Notifications You must be signed in to change notification settings

vanillawc/wc-blink

Repository files navigation

<wc-blink> The Blink Tag as a Web Component

GitHub Releases NPM Releases Bundlephobia Latest Status Release Status

Discord Published on WebComponents.org

Setup

Install and import from NPM

npm i @vanillawc/wc-blink
<script type="module" src="[node_modules]/@vanillawc/wc-blink/index.js"></script>

Import from SkyPack CDN

<script type="module" src="https://cdn.skypack.dev/@vanillawc/wc-blink"></script>

Demo

Try it on WebComponents.dev

Usage

<wc-blink>
This text will blink obnoxiously
</wc-blink>

Styling

Styling is done with standard CSS

<wc-blink style="font-family: sans-serif;">
This will demonstrate the resplendent joy of HTML in its prime
</wc-blink>

Contributing

See CONTRIBUTING.md