How to Make a Text Blink in CSS

How to Animate or Blink a Text in CSS

Blinking texts can capture user attention easily so you can use it for texts that needs more attention

To make a text blink in CSS, use the code below, you can customize it to change blink rate easily. First thing we need to do is give a class name to the text you want make blink then add that class in css with styling details. If you run a WordPress website, you can easily add this code in additional css

Here is the full CSS code to make a text blink

.blinker {
  animation: blinker 5s linear infinite;

@keyframes blinker {
  50% {
    opacity: 0;

Blinker is the class name

Result :

This is a blinking text

This is the html of above text

<h3 class="blinker"><span style="color: #ff0000;">This is a blinking text</span></h3>



Related Posts

Easily Integrate Stripe Payment Gateway in PHP for Any Website

Introduction: In today’s digital world, accepting online payments securely is crucial for businesses. Stripe, a popular payment gateway, provides a reliable and user-friendly platform for processing payments….

How to build API for your Website?

Are you looking to improve the functionality of your website and enhance your users’ experience? One effective way to do this is by integrating an API, or…

How to create a Database in MYSQL using PHP

Creating a database in MySQL using PHP is a common task that many web developers need to do. A database is a collection of data that is…

HTML Redirect to Other Web Page Automatically

How to redirect to another web page with html code Redirecting a page to another page is simple, you can use the below code to do that,…

PHP Array to JavaScript Array

How to convert PHP array to JavaScript array The code below can convert your php array to JavaScript array

Fix PHP Unable to find the wrapper “https” – did you forget to enable it when you configured PHP?

Here is how to fix Unable to find the wrapper “https” problem in PHP In php development, you will encounter this error when trying to access an…

Leave a Reply

Your email address will not be published. Required fields are marked *