
#212121
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<div class="battery-widget-wrapper"> <svg width="274" height="274" viewBox="0 0 274 274" fill="none" xmlns="http://www.w3.org/2000/svg" > <defs> <linearGradient id="animatedWhiteGradient" x1="0%"
CSS
.battery-widget-wrapper { position: relative; transition: all 0.3s ease-in-out; cursor: pointer; padding: 20px; } .battery-widget-wrapper svg path { stroke: url(#animatedWhiteGradient); stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: drawPath 3s infinite; }
MIT License