-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfeatures.html
134 lines (125 loc) · 3.48 KB
/
features.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
<style>
body{
background-color: whitesmoke;
}
#featuretop{
display: flex;
margin: auto;
width:70%;
margin-top: 30px;
}
#featureDiv{
/* border: 2px solid blue; */
margin-top: 2px;
margin-top: 50px;
display: grid;
justify-content: center;
margin: auto;
color: #2b2c2d;
padding-left: 16px;
}
.feature{
box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
margin: auto;
margin-top: 25px;
border-radius: 10px;
background-color: white;
margin-top: 50px;
border-radius: 10px;
}
.feature > div{
display: flex;
box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
.feature > div > div{
width: 100%;
}
#featureDiv1 > div{
display: grid;
grid-template-columns: 30% 70%;
gap: 20px;
padding: 16px;
}
#featureDiv2 > div{
display: grid;
grid-template-columns: 30% 70%;
align-items: center;
gap: 10px;
/* border: 10px solid black; */
}
#featureDiv img:hover{
transform: scale(1.06);
}
#featureDiv1 img{
width: 100%;
height: 160px;
border-radius: 16px;
}
#featureDiv2 > div > div{
font-size: 12px;
}
#feabtn button{
margin-top: 30px;
background-color: white;
padding: 10px;
border: 1px solid rgb(75, 65, 65);
border-radius: 10px;
font-size: 15px;
}
#feabtn{
padding-left: 9%;
}
@media all and (min-width:250px) and (max-width:1000px){
#featureDiv{
display: grid;
grid-template-columns: 1fr;
}
#featureDiv2 > div{
grid-template-columns: 66px 1fr;
gap:16px;
font-size: 18px;
}
#featureDiv2 > div > div{
font-size: 16px;
}
}
</style>
</head>
<body>
<!--=== navbar ===-->
<navbar>
</navbar>
<img id="featuretop" src="https://tpc.googlesyndication.com/simgad/16233217720762028300?" alt="banner">
<div id="feabtn">
<button id="feabtn1">Features Home</button>
<button id="feabtn2">Photo galleries</button>
</div>
<div id="featureDiv">
</div>
<link rel="stylesheet" href="styles/index.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!--=== footer ===-->
<footer>
</footer>
</body>
</html>
<script type="module">
import {navbar,footer} from "./scripts/top-bottom.js";
// navbar
let nav=document.querySelector("navbar");
nav.innerHTML=navbar();
// footer
let foot=document.querySelector("footer");
foot.innerHTML=footer();
let bell=document.getElementById("bell")
bell.addEventListener('click',function(){
alert("Notification Enable Successful")
bell.style.color="yellow";
})
</script>
<script src='scripts/features.js'></script>
<!-- hover -->