first commit - found it not working
the dots just wobble back and forth one stop
This commit is contained in:
commit
e42a570690
4 changed files with 105 additions and 0 deletions
28
index.html
Normal file
28
index.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>A thing made by CLP</title>
|
||||
<script type="module" src="script.js"></script>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>A thing made by CLP</h1>
|
||||
</header>
|
||||
<main>
|
||||
<svg id="board" viewBox="-0.1 -0.1 1.2 1.2">
|
||||
<defs>
|
||||
<linearGradient id="dots-gradient">
|
||||
<stop offset="0%" stop-color="green" />
|
||||
<stop offset="100%" stop-color="white" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect x="-100" y="-100" width="200" height="200" fill="hsl(120,30%,70%)"/>
|
||||
<path id="curve" fill="none" stroke="black" stroke-width="0.01" stroke-linejoin="round" stroke-linecap="square"/>
|
||||
<path id="dots" fill="none" stroke="hsl(120,50%,70%)" stroke-width="0.01" stroke-linejoin="round" stroke-linecap="round"/>
|
||||
</svg>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue