-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (49 loc) · 2.17 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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- CSS -->
<link rel="stylesheet" href="./src/css/style.css">
<!-- Script -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/js/all.min.js" integrity="sha512-RXf+QSDCUQs5uwRKaDoXt55jygZZm2V++WUZduaU/Ui/9EGp3f/2KZVahFZBKGH0s774sd3HmrhUy+SgOFQLVQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script defer src="./dist/bundle.js"></script>
<title>Générateur de dégradé en CSS</title>
</head>
<body>
<header>
<h1>Générateur de dégradé en CSS</h1>
</header>
<section id="generator">
<form>
<div id="colors">
<fieldset>
<input type="color" data-index="1">
<input type="color" data-index="2">
</fieldset>
<input type="range" name="deg" id="deg" min="0" max="360" value="45">
</div>
<div id="buttons">
<button type="button" value="add">+</button>
<button type="button" value="subtract">-</button>
<button type="button" value="Random">Random</button>
</div>
<div id="display-code">
<button type="button" value="code">Voir / cacher le code CSS</button>
</div>
</form>
</section>
<section id="preview">
<div class="none">
<p>Voici le code CSS de votre dégradé</p>
<code id="code"></code>
<button type="button" data-target="#code"><i class="far fa-copy"></i> Copier</button>
</div>
</section>
<footer>
<p><span id="year"></span> | Générateur de dégradé en CSS</p>
<p><i class="fab fa-github"></i> <a href="https://github.com/alice-sebego/gradient-generator" rel="author" title="Get app's code on GitHub">See code of this app</a> - <i class="fab fa-twitter"></i> <a href="https://twitter.com/ComaMalice" target="_blank" title="Follow us on Twitter">Follow us on Twitter</a></p>
</footer>
</body>
</html>