Pulse Effect (Like a
Button Pulse)
<!DOCTYPE html>
<html>
<head>
<style>
.pulse {
width: 80px;
height: 80px;
background: orange;
border-radius: 50%;
margin: 50px auto;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.2); opacity: 0.6; }
100% { transform: scale(1); opacity: 1; }
}
</style>
</head>
<body>
<div class="pulse"></div>
</body>
</html>
Button Pulse)
<!DOCTYPE html>
<html>
<head>
<style>
.pulse {
width: 80px;
height: 80px;
background: orange;
border-radius: 50%;
margin: 50px auto;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.2); opacity: 0.6; }
100% { transform: scale(1); opacity: 1; }
}
</style>
</head>
<body>
<div class="pulse"></div>
</body>
</html>