Skip to content

Latest commit

 

History

History
62 lines (37 loc) · 1.27 KB

README.md

File metadata and controls

62 lines (37 loc) · 1.27 KB

make-it-blink

NPM

A Web Component that brings back the nostalgia of the blink tag.

Blinking

You can bring back the blink tag using this web component:

<script src='https://unpkg.com/[email protected]/dist/blinker.min.js'></script>

...

<make-it-blink>Blink This!</make-it-blink>

It supports three attributes:

duration

Description: A CSS Animation String Default: "1s"

<script src='https://unpkg.com/[email protected]/dist/blinker.min.js'></script>

...

<make-it-blink duration="250ms">Blink This!</make-it-blink>

repeats

Description: Number of blinks Default: "infinite"

<script src='https://unpkg.com/[email protected]/dist/blinker.min.js'></script>

...

<make-it-blink repeats="25">Blink This!</make-it-blink>

timer

Description: Timing Function Default: "step-end"

<script src='https://unpkg.com/[email protected]/dist/blinker.min.js'></script>

...

<make-it-blink timer="linear">Blink This!</make-it-blink>

Help me bring the blink tag back!*

  • I am not reponsible if you actually use this in production. This is satire.