Blink Text Effect Using HTML, CSS & JavaScript Codes

Blink Text Effect Using HTML, CSS & JavaScript Codes

Blink Text Effect Using HTML, CSS & JavaScript Codes For Website

By using the below codes, you can easily add blink text on your blogs or websites.

CSS Code: 

Add this code between <style> and </style>.
#pvblink {
            font-size: 20px;
            font-weight: bold;
            color: #2d38be;
            transition: 0.5s;
        }

JavaScript: 

Add this just after <head>.
<script type="text/javascript">
        var blink = document.getElementById('pvblink');
        setInterval(function() {
            blink.style.opacity = (blink.style.opacity == 0 ? 1 : 0);
        }, 500);
    </script>

HTML Code: 

Add this code and edit your text, where you want to show your text.
 <p id="pvblink">Welcome to ProVishal.com</p>
Post a Comment (0)
Previous Post Next Post
–>