forked from sudo-JSON/JavaScript-Practice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (52 loc) · 2.21 KB
/
Copy pathindex.html
File metadata and controls
56 lines (52 loc) · 2.21 KB
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
<!DOCTYPE html>
<html lang="en">
<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" />
<link rel="stylesheet" href="input.css" />
<title>Microsoft – Cloud, Computers, Apps & Gaming</title>
</head>
<body>
<!-- Navbar -->
<div class="navbar flex justify-between items-center p-4">
<div class="flex justify-center items-center md:order-2">
<div class="hamburger inline-block cursor-pointer md:hidden">
<div class="line my-1 bg-black w-6 h-0.5"></div>
<div class="line my-1 bg-black w-6 h-0.5"></div>
<div class="line my-1 bg-black w-6 h-0.5"></div>
</div>
<div class="search md:hidden">Search-icon</div>
</div>
<div class="logo text-center md:order-1 flex">
<div>Microsoft</div>
<div class="bg-gray-300 bg w-fit md:w-auto md:bg-white features md:flex absolute md:static inset-0 md:mx-4 md:space-x-2 -translate-x-96 md:-translate-x-0">
<div class="fitem">Microsoft 365</div>
<div class="fitem">Teams</div>
<div class="fitem">Windows</div>
<div class="fitem">Surface</div>
<div class="fitem">Xbox</div>
<div class="fitem">Support</div>
</div>
</div>
<div class="cart text-center md:order-3 flex">
<div class="hidden">All Microsoft</div>
<div class="search hidden md:block">Search-icon</div>
<div>Cart Account</div>
</div>
</div>
<!-- Slider -->
<div class="slider flex flex-col md:flex-row bg-[#f2f2f2]">
<div class="w-full">
<img class="" src="pic.webp" alt="Picture">
</div>
<div class="card abosolute space-y-4 bg-white border-b-2 border-blue-900 p-4">
<h1 class="text-3xl mx-3 font-semibold">Xbox Series X</h1>
<p class="w-3/4 mx-3 text-base">The fastest, most powerful Xbox ever</p>
<button class="w-fit bg-[#0067b8] font-bold rounded-md text-white p-3 mx-3">Shop Now</button>
</div>
</div>
</body>
</html>
<!-- npm i -->
<!-- npm run start require after using this template -->