Hello Viewer, Here you’ll Find Code Notification Pulse Animation With  HTML & CSS and now I’m going to Pulse Animation With  HTML & CSS.


Notification Pulse Animation With  HTML & CSS


CODE - 


<!DOCTYPE html>

<html lang="en">

<head>

<title>Notification Pulse Animation With  HTML & CSS</title>

<!--Font Awesome Icon CDN-->

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css">

<!--Stylesheet-->

<style>

*,

*:before,

*:after{

padding: 0;

margin: 0;

box-sizing: border-box;

}

body{

background-color: #fff;

}

.pulse{

height: 150px;

width: 150px;

background: linear-gradient(

#f92472,

#407ed7

);

position: absolute;

margin: auto;

left: 0;

right: 0;

top: 0;

bottom: 0;

border-radius: 50%;

display: grid;

place-items: center;

font-size: 50px;

color: #ffffff;

}

.pulse:before,

.pulse:after{

content: "";

position: absolute;

height: 100%;

width: 100%;

background-color: #8a82fb;

border-radius: 50%;

z-index: -1;

opacity: 0.7;

}

.pulse:before{

animation: pulse 2s ease-out infinite;

}

.pulse:after{

animation: pulse 2s 1s ease-out infinite;

}

@keyframes pulse{

100%{

transform: scale(2.5);

opacity: 0;

}

}

</style>

</head>

<body>

<div class="pulse">

<i class="fas fa-bell"></i>

</div>

</body>

</html>