Frontend Forever App
We have a mobile app for you to download and use. And you can unlock many features in the app.
Get it now
Intall Later
Run
HTML
CSS
Javascript
Output
Document
@charset "UTF-8"; @import url(https://fonts.googleapis.com/css?family=Nunito+Sans:300,400,600,700,800); *, :after, :before { box-sizing: border-box; padding: 0; margin: 0; } section { display: grid; place-items: center end; width: 80vw; max-width: 500px; height: 25vw; transform: rotateX(-45deg) rotateY(0); transform-style: preserve-3d; cursor: pointer; animation: spin 20s linear infinite; } section > * { grid-area: 1 / 1; } @keyframes spin { 100% { rotate: y 360deg; } } section:hover { animation-play-state: paused; } .circle { width: 50%; height: 100%; border: 0.15em solid #66ff00; border-left-width: 1em; border-right-width: 0; border-radius: 50%; box-shadow: -1em 0 3em -0.5em blue; transform-origin: 0% 0%; transform: rotateY(calc(var(--i) * 18deg)); filter: brightness(1.2); } .circle:nth-child(even) { border-left-color: #ed9121; } * { padding: 0; margin: 0; box-sizing: border-box; } body { min-height: 100vh; display: grid; place-items: center; background: #290052; font-family: system-ui, sans-serif; font-size: calc(1rem + 1vw); line-height: 1; perspective: 500px; } img { max-width: 100%; object-fit: cover; }
console.log("Event Fired") Splitting();