-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlemon.html
35 lines (33 loc) · 887 Bytes
/
lemon.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
<!DOCTYPE HTML>
<html>
<head>
<style type="text/css">
body {
background-color: yellow;
transition: background-color 3s;
}
img {
length: 100%;
width: 100%;
}
</style>
<title>JosephWorks - Lemon</title>
<link href="https://unpkg.com/[email protected]/dist/css/micron.min.css" type="text/css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/dist/script/micron.min.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
var colors = ["red", "orange", "yellow", "green", "blue", "indigo", "violet"];
var i = 1;
window.setInterval(function(){
document.body.style.backgroundColor = colors[i];
i++;
if (i === colors.length){
i=0;
}
}, 5000);
</script>
<center><h1>Lemon</h1></center>
<img data-micron="pop" src="https://unixtitan.net/images/lemon-transparent-2.png">
</body>
</html>