-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex_sito(1).html
48 lines (46 loc) · 1.38 KB
/
index_sito(1).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
<!DOCTYPE html5>
<html>
<head>
<meta name="viewport_light" content="width=device-width, initial-scale=1.0">
<title>VueLamp (beta)</title>
<link rel="stylesheet" href="style_sito(1).css">
</head>
<body>
<div class="hero">
<nav>
<img src="images/menu.png" class="">
<img src="images/logo.png" class="logo-img">
<ul>
<li><a href="">Latest</a></li>
<li><a href="">Modern</a></li>
<li><a href="">Contemporary</a></li>
<li><a href="">Affordable</a></li>
</ul>
<button type="button" onclick="toggleBtn()" id="btn" name="button1"><span></span></button>
<i class="arrow"></i>
</nav>
<div class="lamp-container">
<img src="images/lamp.png" class="lamp-img">
<img src="images/light.png" class="light-img" id="light">
</div>
<div class="text-container">
<h1>Lighting</h1>
<p><br>The first lamp from our company, from home use to office use.</p>
<a href="">Check the collection</a>
<div class="control">
<p>04</p>
<div class="line"><span></span></div>
<p>05</p>
</div>
</div>
</div>
<script>
var btn = document.getElementById("btn");
var light = document.getElementById("light");
function toggleBtn() {
btn.classList.toggle("active");
light.classList.toggle("on");
}
</script>
</body>
</html>