This repository has been archived by the owner on Dec 20, 2021. It is now read-only.
forked from MehaRima/gp-responsive-webpage-design
-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathsection.html
125 lines (100 loc) · 4.17 KB
/
section.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
<!DOCTYPE html>
<html lang="en">
<title>RESPONSIVE WEBSITE HOSTING WITH GITHUB & W3SCHOOL'S STYLESHEET</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,h1,h2,h3,h4,h5 {font-family: "Raleway", sans-serif}
.w3-quarter img{margin-bottom: -6px; cursor: pointer}
.w3-quarter img:hover{opacity: 0.6; transition: 0.3s}
</style>
<body class="w3-brown">
<!-- Sidebar/menu -->
<nav class="w3-sidebar w3-bar-block w3-brown w3-animate-right w3-top w3-text-white w3-large" style="z-index:3;width:250px;font-weight:bold;display:none;right:0;" id="mySidebar">
<a href="javascript:void()" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-32">CLOSE</a>
<br>
<a href="index.html" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">HOME</a>
<a href="index.html#faq" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">FAQ</a>
<a href="index.html#about" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">ABOUT </a>
<a href="section.html " onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16"> SECTION </a>
<a href="index.html#contact" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">CONTACT</a>
</nav>
<!-- Top menu on small screens -->
<header class="w3-container w3-top w3-white w3-xlarge w3-padding-16">
<span class="w3-left w3-padding">The Webpage Name</span>
<a href="javascript:void(0)" class="w3-right w3-button w3-white" onclick="w3_open()">☰</a>
</header>
<!-- Overlay effect when opening sidebar on small screens -->
<div class="w3-overlay w3-animate-opacity" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
<!-- !PAGE CONTENT! -->
<div class="w3-main w3-content" style="max-width:1600px;margin-top:83px">
<!-- !SECTION CONTENT! -->
<!-- The Grid -->
<div class="w3-row-padding">
<!-- Left Column -->
<div class="w3">
<div class="w3-brown w3-text-white w3-card-4">
<div class="w3-display-container">
<div class="w3-container"><center>
<h1>Only text content page heading</h1>
<div class="w3-display-bottomleft w3-container w3-text-black">
</div>
</div>
<div class="w3-container">
<hr>
<div class="w3-display-container"><center><h3>Heading</h3>
<h5>Sub-heading 1</h5>
<p>Add paragraph</p>
<h5>Sub-heading 2</h5>
<p>Add paragraph</p>
</div>
<div class="w3-container"><center>
<h1>Topic heading</h1>
<div class="w3-display-bottomleft w3-container w3-text-black">
</div>
<hr>
<h5>Sub-heading 1</h5>
<p>Add paragraph</p>
</center>
<!-- End Grid -->
</div>
<!-- End Page Container -->
</div>
<hr>
<!-- Footer -->
<footer class="w3-container w3-white w3-center w3-margin-top">
<span class="w3-center w3-padding">
<p>Links to social media.</p>
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
<br>
</footer>
<!-- End page content -->
</div>
<script>
// Script to open and close sidebar
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
}
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
</script>
</body>
</html>