Skip to content

Commit ad07ed6

Browse files
authored
Add files via upload
0 parents  commit ad07ed6

13 files changed

+84
-0
lines changed

bg.jpeg

205 KB
Loading

bg.jpg

872 KB
Loading

chromeicon.png

193 KB
Loading

edgeicon.png

20 KB
Loading

favicon.ico

15 KB
Binary file not shown.

icons.PNG

6.53 KB
Loading

index.html

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Try Windows 11</title>
8+
<link rel="stylesheet" href="style.css">
9+
</head>
10+
<body>
11+
<!-- <div class="icons">
12+
<img src="chromeicon.png" width="74px" alt="">
13+
<div>Google Chrome</div>
14+
</div> -->
15+
<div class="taskbar">
16+
<img src="icons.PNG" alt="">
17+
<img class="right" src="taskbarright.PNG" alt="">
18+
</div>
19+
<div class="startmenu">
20+
<img src="startmenu.PNG" alt="">
21+
</div>
22+
<video autoplay muted id="vid">
23+
<source src="video.webm" type="video/webm">
24+
</video>
25+
</body>
26+
<script src="script.js"></script>
27+
</html>

recyclebinicon.png

47.8 KB
Loading

script.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
let taskbar = document.getElementsByClassName("taskbar")[0]
2+
let startmenu = document.getElementsByClassName("startmenu")[0]
3+
4+
taskbar.addEventListener("click", ()=>{
5+
console.log("clicked");
6+
if(startmenu.style.bottom == "50px"){
7+
startmenu.style.bottom = "-655px"
8+
}
9+
else{
10+
startmenu.style.bottom = "50px"
11+
}
12+
})

startmenu.PNG

44.9 KB
Loading

style.css

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
*{
2+
margin: 0;
3+
padding: 0;
4+
}
5+
6+
body{
7+
/* background-image: url('bg.jpeg');
8+
background-size: cover; */
9+
overflow: hidden;
10+
height: 100vh;
11+
}
12+
13+
.taskbar{
14+
background-color: #f3f3f3;
15+
width: 100%;
16+
position: absolute;
17+
bottom: 0;
18+
display: flex;
19+
z-index: 110;
20+
justify-content: center;
21+
}
22+
23+
.startmenu{
24+
position: absolute;
25+
/* bottom: 50px; */
26+
bottom: -655px;
27+
width: 100%;
28+
text-align: center;
29+
transition: all 0.3s ease-in;
30+
}
31+
32+
.startmenu img{
33+
border-radius: 8px;
34+
}
35+
36+
.right{
37+
justify-self: flex-end;
38+
position: absolute;
39+
right: 0;
40+
margin: 6px 0;
41+
height: 85%;
42+
}
43+
.icons{
44+
color: white;
45+
}

taskbarright.PNG

2 KB
Loading

video.webm

1.76 MB
Binary file not shown.

0 commit comments

Comments
 (0)