25.04.2022, 19:52
Vielen Dank schonmal!!
Hierher ist der Colorpicker: GitHub - bebraw/colorjoe: Scaleable color picker with touch and AMD support (MIT)
Und das ist mein html:
Hierher ist der Colorpicker: GitHub - bebraw/colorjoe: Scaleable color picker with touch and AMD support (MIT)
Und das ist mein html:
Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Comptible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" type="text/css" href="Pattern-Creator.css"/>
<link rel="stylesheet" href="colorjoe.css">
<script src="colorjoe.min.js"></script>
</head>
<body>
<h1>Pattern Creator</h1>
<main class="Pattern-Creator">
<div id="Pattern-Table">
</div>
<div class="settings">
<form>
<label for="h-stitches">Vertical Stitches:</label>
<input type="number" min="0" id="v-stitches" name="v-stitches"><br><br>
<label for="v-stitches">Horizontal Stitches:</label>
<input type="number" min="0" id="h-stitches" name="h-stitches"><br><br>
</form>
<div class="container">
<div class="colorjoe"></div>
<div class="config"></div>
<div class="config-title">Selected Color</div>
<div class="selected-color-text"></div>
<div class="selected-color"></div>
<div class="config-title">Saved Colors</div>
<div class="saved-color"></div>
<div class="saved-color"></div>
<div class="saved-color"></div>
<div class="saved-color"></div>
<div class="saved-color"></div>
</div>
</div>
<script type="text/javascript" src="Untitled-1.js"></script>
</main>
</body>
</html>