-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
187 lines (186 loc) · 8.42 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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Holy-Grail</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="main-grid-container">
<header>
<div class="left-header">
<i class="fa-solid fa-bars" onclick="toggleNav()"></i>
<h2 class="logo">LOGO</h2>
</div>
<div class="right-header">
<div class="sub-left-header">
<i class="fa-brands fa-youtube"></i>
<a href="https://youtu.be/TWQN2Bb-cLU?si=UAH3YtjOENfWdkmV">Video</a>
</div>
<div class="sub-right-header">
<i class="fa-solid fa-paragraph"></i>
<a href="https://www.fullstackfoundations.com/">Article</a>
</div>
</div>
</header>
<nav class="hide-nav">
<div id="nav-styling" class="home-section">
<i class="fa-solid fa-house"></i>
<a href="https://www.google.co.in/">Home</a>
</div>
<div id="nav-styling" class="profile-section">
<i class="fa-solid fa-user-circle"></i>
<a href="https://www.linkedin.com/in/pranjal-agarwal-23279b309/"
>Profile</a
>
</div>
<div id="nav-styling" class="billing-section">
<i class="fa-solid fa-dollar-sign"></i>
<a href="https://payments.google.com/gp/w/u/0/home/signup">Billing</a>
</div>
</nav>
<div class="inner-grid">
<main>
<article>
<h1>🖥️ CSS Grid Tutorial</h1>
<p>
This Codepen is an example of the CSS "Holy Grail" Layout AND a
CSS Grid tutorial! If you came from somewhere other than YouTube
or my blog, go ahead,
<a
href="https://www.zachgollwitzer.com/posts/2021/fullstack-developer-series/11-css-grid-crash-course/"
>click this link</a
>
to see the full tutorial 😉
</p>
<p>
This example has been created using CSS Grid and Flexbox. Yep,
they work great together!
</p>
<p>
If you have any questions, feel free to hit me up on Twitter
<a href="https://twitter.com/zg_dev">@zg_dev</a>!
</p>
<h3>A Grid Mosaic Layout</h3>
<p class="jugaad">
Since this is a grid tutorial, I thought I'd add a cool little
picture collage using CSS Grid!
</p>
<div class="collage">
<img
class="collage-1"
src="https://picsum.photos/300/400?random=2"
/>
<img
class="collage-2"
src="https://picsum.photos/300/500?random=3"
/>
<img
class="collage-3"
src="https://picsum.photos/300/400?random=4"
/>
</div>
<p>
Alright, let's throw some good 'ole Lorem Ipsum to finish this
article off.
</p>
<h3>What is Lorem Ipsum?</h3>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text
ever since the 1500s, when an unknown printer took a galley of
type and scrambled it to make a type specimen book. It has
survived not only five centuries, but also the leap into
electronic typesetting, remaining essentially unchanged. It was
popularised in the 1960s with the release of Letraset sheets
containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of
Lorem Ipsum.
</p>
<h3>Why do we use it?</h3>
<p>
It is a long established fact that a reader will be distracted by
the readable content of a page when looking at its layout. The
point of using Lorem Ipsum is that it has a more-or-less normal
distribution of letters, as opposed to using 'Content here,
content here', making it look like readable English. Many desktop
publishing packages and web page editors now use Lorem Ipsum as
their default model text, and a search for 'lorem ipsum' will
uncover many web sites still in their infancy. Various versions
have evolved over the years, sometimes by accident, sometimes on
purpose (injected humour and the like).
</p>
<h3>Where does it come from?</h3>
<p>
Contrary to popular belief, Lorem Ipsum is not simply random text.
It has roots in a piece of classical Latin literature from 45 BC,
making it over 2000 years old. Richard McClintock, a Latin
professor at Hampden-Sydney College in Virginia, looked up one of
the more obscure Latin words, consectetur, from a Lorem Ipsum
passage, and going through the cites of the word in classical
literature, discovered the undoubtable source. Lorem Ipsum comes
from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et
Malorum" (The Extremes of Good and Evil) by Cicero, written in 45
BC. This book is a treatise on the theory of ethics, very popular
during the Renaissance. The first line of Lorem Ipsum, "Lorem
ipsum dolor sit amet..", comes from a line in section 1.10.32.
</p>
<p>
The standard chunk of Lorem Ipsum used since the 1500s is
reproduced below for those interested. Sections 1.10.32 and
1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also
reproduced in their exact original form, accompanied by English
versions from the 1914 translation by H. Rackham.
</p>
<h3>Where can I get some?</h3>
<p>
There are many variations of passages of Lorem Ipsum available,
but the majority have suffered alteration in some form, by
injected humour, or randomised words which don't look even
slightly believable. If you are going to use a passage of Lorem
Ipsum, you need to be sure there isn't anything embarrassing
hidden in the middle of text. All the Lorem Ipsum generators on
the Internet tend to repeat predefined chunks as necessary, making
this the first true generator on the Internet. It uses a
dictionary of over 200 Latin words, combined with a handful of
model sentence structures, to generate Lorem Ipsum which looks
reasonable. The generated Lorem Ipsum is therefore always free
from repetition, injected humour, or non-characteristic words etc.
</p>
</article>
</main>
<aside>
<h2>Sidebar + Image</h2>
<p class="jugaad-2">
Many websites have a sidebar that sits to the right of the text on
Desktop and below the text on mobile.
</p>
<img src="https://picsum.photos/300/300?random=1" />
</aside>
<footer>
<p>
Created by
<a href="https://www.linkedin.com/in/pranjal-agarwal-23279b309/"
>Pranjal Agarwal</a
>
</p>
</footer>
</div>
</div>
<script src="script.js"></script>
</body>
</html>