-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (67 loc) · 2.9 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!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 href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css">
<title>Pinterest Web Clone</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;500;700&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" sizes="32x32" href="assets/img/pinterest-icon.png">
</head>
<body>
<header>
<div class="main-header">
<div class="header-inicio">
<span class="header-initial-one">
<img src="assets/img/pinterest-icon.png" alt="pinterest-logo" class="pinterest-logo">
</span>
<span class="header-initial-two">Inicio</span>
<span class="header-initial-three">Hoy</span>
<span class="header-initial-four">Siguiendo</span>
</div>
<div class="header-search">
<div class="input-search">
<span class='material-icons icon' id="search-icon-one">search</span>
<input id="search-icon-two" type="text" placeholder="Buscar" onclick="inputSelectSearch()">
<button class="btn-input-search" id="search-icon-three">
<span class="text-btn-search">Tus Pines</span>
<span class='material-icons i'>keyboard_arrow_down</span>
</button>
</div>
</div>
<div class="header-profile">
<span class='material-icons search-display'>search</span>
<span class='material-icons'>notifications</span>
<span class='material-icons'>chat</span>
<span class='material-icons'>account_circle</span>
<button>
<span class='material-icons icon-arrow'>keyboard_arrow_down</span>
</button>
</div>
</div>
</header>
<div class="container"></div>
<div class="footerButton">
<button class="roundedButton">
<span class="material-icons">add</span>
</button>
<button class="roundedButton">
<span class="material-icons">help_outline</span>
</button>
</div>
<script type="text/javascript" src="assets/js/picsum.js"></script>
<script type="text/javascript">
window.onscroll = function() {
var header = document.getElementsByTagName("header")[0];
var hightOffsetTop = header.offsetTop;
if (window.pageYOffset > hightOffsetTop) {
header.classList.add("header-box");
} else {
header.classList.remove("header-box");
}
};
</script>
</body>
</html>