Rotating Plates
Home
Snippets
Rotating Plates
HTML
CSS
JS
<div class="flower-widget"></div>
body { margin: 0; height: 100vh; background: #f0f8ff; display: flex; justify-content: center; align-items: center; font-family: Arial, sans-serif; transform: scale(60%); } .flower-widget { position: relative; width: 200px; height: 200px; background: radial-gradient(circle, #ffd54f, #fbc02d); border-radius: 50%; box-shadow: 0 0 15px rgba(0,0,0,0.2); display: flex; justify-content: center; align-items: center; animation: pulse 3s infinite ease-in-out; } .flower-widget::before, .flower-widget::after { content: ""; position: absolute; width: 250px; height: 250px; background: repeating-conic-gradient(#ff8a65 0deg 20deg, transparent 20deg 40deg); border-radius: 50%; z-index: -1; animation: rotate 12s linear infinite; } .flower-widget::after { width: 220px; height: 220px; background: repeating-conic-gradient(#ffccbc 0deg 20deg, transparent 20deg 40deg); animation-direction: reverse; } .flower-center { font-size: 1.5rem; font-weight: bold; color: #5d4037; text-align: center; } @keyframes rotate { 100% { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
//javascript
Ad #1
Ad #2
Scroll to Top