ToolypetMCP
beginner2 minutescss

Animated Loading Spinner

Create a smooth CSS loading spinner with custom animation, easing, and gradient colors.

animationloaderspinnereasing

इस रेसिपी का उपयोग कब करें

Every web application needs a loading state. This pure CSS spinner is lightweight, accessible, and works without JavaScript or external libraries.

चरण

1

Create the spinning animation

प्रॉम्प्ट:Generate a rotation animation from 0deg to 360deg, infinite loop, 1 second duration, linear timing
2

Create the gradient spinner appearance

प्रॉम्प्ट:Generate a conic gradient from blue (#3b82f6) to transparent for a spinner border
3

Make it circular

प्रॉम्प्ट:Generate 50% border-radius for a perfect circle

अक्सर पूछे जाने वाले प्रश्न

How do I change the spinner size?

Set width and height to your desired size. Common sizes are 24px for inline, 40px for content areas, and 64px for full-page loaders.

Should I use CSS or SVG spinners?

CSS spinners are simpler and lighter. SVG spinners offer more complex animations. For most cases, CSS is sufficient.

संबंधित रेसिपी