Create Blinking Text With Pure JavaScript – Blink.js

Category: Animation , Javascript | March 20, 2020
Author:markokroselj
Views Total:1,541 views
Official Page:Go to website
Last Update:March 20, 2020
License:MIT

Preview:

Create Blinking Text With Pure JavaScript – Blink.js

Description:

A pure JavaScript solution to blink given text using setInterval() function. Supports any characters and even emojis.

How to use it:

1. Download and link to the blink.js script.

<script src="blink.js"></script>

2. Create a container to hold the blinking text.

<span id="demo"></span>

3. Initialize the Blink.js on the container and specify the text to blink.

blink("demo","?️");

You Might Be Interested In:


Leave a Reply