codepens/cogs-with-variables/dist/index.html

28 lines
1.6 KiB
HTML
Raw Permalink Normal View History

2023-10-06 23:12:53 +02:00
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Cogs with variables</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- partial:index.partial.html -->
<div class="cogs">
<svg class="static_cog" viewbox="0 0 120 120">
<circle cx="60" cy="60" r="50" fill="black" stroke="white"/>
<circle cx="60" cy="60" r="50" stroke="black" fill="transparent"/>
</svg>
<svg class="dynamic_cog" viewbox="0 0 120 120" style="--d: 30; --turn: reverse; --delay: .3s;">
<circle cx="60" cy="60" r="50" fill="black" stroke="white"/>
<circle cx="60" cy="60" r="50" stroke="black" fill="transparent"/>
</svg>
<svg class="dynamic_cog" viewbox="0 0 120 120" style="--d: 20;">
<circle cx="60" cy="60" r="50" fill="black" stroke="white"/>
<circle cx="60" cy="60" r="50" stroke="black" fill="transparent"/>
</svg>
</div>
<a target="_blank" href="https://twitter.com/kamildyrek"><svg style="width:2em;height:2em;position:fixed;top:1em;left:1em;opacity:.8;" viewBox="0 0 24 24"><path fill="#000" d="M17.71,9.33C18.19,8.93 18.75,8.45 19,7.92C18.59,8.13 18.1,8.26 17.56,8.33C18.06,7.97 18.47,7.5 18.68,6.86C18.16,7.14 17.63,7.38 16.97,7.5C15.42,5.63 11.71,7.15 12.37,9.95C9.76,9.79 8.17,8.61 6.85,7.16C6.1,8.38 6.75,10.23 7.64,10.74C7.18,10.71 6.83,10.57 6.5,10.41C6.54,11.95 7.39,12.69 8.58,13.09C8.22,13.16 7.82,13.18 7.44,13.12C7.81,14.19 8.58,14.86 9.9,15C9,15.76 7.34,16.29 6,16.08C7.15,16.81 8.46,17.39 10.28,17.31C14.69,17.11 17.64,13.95 17.71,9.33M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2Z" /></svg></a>
<!-- partial -->
</body>
</html>