<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Circle Text Animation</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
.circle-container {
display: flex;
flex-direction: column;
align-items: center;
}
.circle {
width: 100px;
height: 100px;
border: 2px solid #007bff;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
position: relative;
}
.circle span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.circle-text {
animation: rotate 5s linear infinite;
}
.circle-text::before {
content: "Does this work ";
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div class="circle-container">
<div class="circle circle-text">
<span>Be Here Now</span>
</div>
<div class="circle circle-text" style="width: 180px; height: 180px; animation-delay: 2s;">
<span>Does this work</span>
</div>
<div class="circle circle-text" style="width: 260px; height: 260px; animation-delay: 4s;">
<span>Many Times</span>
</div>
</div>
</body>
</html>