.circle { width: 50px; height: 50px; border-radius: 50%; animation: anime 6s infinite; background: #c00; } @keyframes anime { 0% { width: 25px; height: 25px; opacity: 1; } 50% { width: 150px; height: 150px; opacity: 0; } 100% { opacity: 0; } }
元記事を表示する