-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (37 loc) · 1.41 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
<!DOCTYPE html>
<html>
<head>
<title>Color Template</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body id="gradient">
<!-- Particle Effects -->
<div id="particles-js" class=""></div>
<!-- Logo -->
<div class="container"><img class="cover" data-tilt data-tilt-max="2" data-tilt-reverse=true src="./img/logo.png"></div>
<!-- Rounded switch -->
<div id="right">
<label class="switch">
<input type="checkbox">
<span class="slider round button2"></span>
</label>
</div>
<h1>Color Picker</h1>
<!-- Display the initial CSS linear gradient property on page load. -->
<input class="color1" type="color" name="color1" value="#aa227d">
<input class="color2" type="color" name="color2" value="#1b279e">
<h2>Current CSS Background</h2>
<!-- Colour inputs match the background generated on the first page load. -->
<h3>linear-gradient(to right, rgb(170, 34, 125), rgb(27, 39, 158));</h3>
<button class="button1">Random Color</button>
<!-- Script Files -->
<script type="text/javascript" src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/particles.min.js"></script>
<script>
particlesJS.load('particles-js', 'particles.json', function() {
console.log('particles.json loaded.');
})
</script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vanilla-tilt/1.7.0/vanilla-tilt.min.js"></script>
</body>
</html>