-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (75 loc) · 4.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dibujando con Canvas</title>
<link rel="shortcut icon" href="img/lapiz.png">
<!-- Anexando la hoja de estilos CSS -->
<link href="styles.css" rel="stylesheet" type="text/css">
<!-- Importación del tipo de fuente: Lato Regular -->
<style>@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');</style>
<!-- Importación de de los iconos de Font-Awsome-->
<script src="https://kit.fontawesome.com/7b9f8c27b2.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="container" id="contenedor">
<div class="tools">
<div class="seccion-1">
<input class="tool-button" type="button" value="" id="botonPincel" title="Pincel"/>
<input class="tool-button" type="button" value="" id="botonRectFill" title="Rectángulo con relleno"/>
<input class="tool-button" type="button" value="⬤" id="botonCircleFill" title="Círculo con relleno"/>
<br>
<input class="tool-button" type="button" value="" id="botonBorrar" title="Borrador"/>
<input class="tool-button" type="button" value="" id="botonRectStroke" title="Rectángulo sin relleno"/>
<input class="tool-button" type="button" value="" id="botonCircleStroke" title="Círculo sin relleno"/>
<br>
<input class="tool-button" type="button" value="" id="botonRellenar" title="Rellenar"/>
<input class="tool-button" type="button" value="" id="botonSelector" title="Selector de color"/>
<input class="tool-button" type="button" value="" id="botonLinea" title="Línea"/>
</div>
<div class="seccion-2">
<input class="color-button" type="button" value="" id="color-button-1"/>
<input class="color-button" type="button" value="" id="color-button-2"/>
<input class="color-button" type="button" value="" id="color-button-3"/>
<input class="color-button" type="button" value="" id="color-button-4"/>
<input class="color-button" type="button" value="" id="color-button-5"/>
<br>
<input class="color-button" type="button" value="" id="color-button-6"/>
<input class="color-button" type="button" value="" id="color-button-7"/>
<input class="color-button" type="button" value="" id="color-button-8"/>
<input class="color-button" type="button" value="" id="color-button-9"/>
<input class="color-button" type="button" value="" id="color-button-10"/>
<br>
<input type="color" id="colorPuntero"/>
</div>
<div class="seccion-3">
<p class="tituloGrosor">Grosor:<input type="number" id="valorGrosor" name="grosor" min="1" max="70" value="5"></p>
<input type="range" min="1" max="70" value="5" class="slider" id="rangoGrosor">
</div>
<div class="seccion-4">
<br>
<p class="tituloFondo">Fondo:<input type="color" id="colorFondo"/></p>
<br>
<input class="tool-button" type="button" value="" id="botonLimpiar" title="Limpiar"/>
<input class="tool-button" type="button" value="" id="botonCopiar" title="Copiar"/>
<input class="tool-button" type="button" value="" id="botonGuardar" title="Guardar"/>
</div>
<div class="seccion-5">
<form action="https://github.com/KSAplay/" target="_blank">
<input class="boton-1" type="submit" value=""/>
</form>
<form action="https://www.linkedin.com/in/kenny-saavedra-altuna/" target="_blank">
<input class="boton-2" type="submit" value=""/>
</form>
</div>
<br>
<p class="nombre">by: <strong>KSAplay</strong></p>
</div>
<div class="paper" id="recuadro">
<canvas id="dibujo">Tu navegador no soporta el elemento Canvas.</canvas>
</div>
</div>
<!-- Anexando el script de JavaScript -->
<script src="script.js" language="javascript"></script>
</body>
</html>