<!DOCTYPE html>
<
html
>
<
head
>
<
title
>Primer CSS Layout Overflow</
title
>
<
link
href
=
rel
=
"stylesheet"
/>
<
style
>
.GFG {
width: 300px;
height: 200px;
text-align: justify;
border: 1px solid black;
}
.text-center {
padding-bottom: 500px;
}
</
style
>
</
head
>
<
body
>
<
div
class
=
"text-center"
>
<
h1
class
=
"color-fg-open"
>
GeeksforGeeks
</
h1
>
<
h3
>Primer CSS Layout Overflow</
h3
>
<
h4
>Overflow-y-auto</
h4
>
<
div
class
=
"GFG d-inline-block overflow-y-auto"
>
HTML stands for HyperText Markup
Language. It is used to design
web pages using a markup language.
HTML is the combination of
Hypertext and Markup language.
Hypertext defines the link between
the web pages. A markup language
is used to define the text document
within tag which defines the
structure of web pages. This language
is used to annotate (make notes for
the computer) text so that a machine
can understand it and manipulate text
accordingly. Most markup languages
(e.g. HTML) are human-readable.
</
div
>
<
h4
>Overflow-y-hidden</
h4
>
<
div
class
=
"GFG d-inline-block overflow-y-hidden"
>
HTML stands for HyperText Markup
Language. It is used to design
web pages using a markup language.
HTML is the combination of
Hypertext and Markup language.
Hypertext defines the link between
the web pages. A markup language
is used to define the text document
within tag which defines the
structure of web pages. This language
is used to annotate (make notes for
the computer) text so that a machine
can understand it and manipulate text
accordingly. Most markup languages
(e.g. HTML) are human-readable.
</
div
>
<
h4
>Overflow-y-scroll</
h4
>
<
div
class
=
"GFG d-inline-block overflow-y-scroll"
>
HTML stands for HyperText Markup
Language. It is used to design
web pages using a markup language.
HTML is the combination of
Hypertext and Markup language.
Hypertext defines the link between
the web pages. A markup language
is used to define the text document
within tag which defines the
structure of web pages. This language
is used to annotate (make notes for
the computer) text so that a machine
can understand it and manipulate text
accordingly. Most markup languages
(e.g. HTML) are human-readable.
</
div
>
<
h4
>Overflow-y-visible</
h4
>
<
div
class
=
"GFG d-inline-block overflow-y-visible"
>
HTML stands for HyperText Markup
Language. It is used to design
web pages using a markup language.
HTML is the combination of
Hypertext and Markup language.
Hypertext defines the link between
the web pages. A markup language
is used to define the text document
within tag which defines the
structure of web pages. This language
is used to annotate (make notes for
the computer) text so that a machine
can understand it and manipulate text
accordingly. Most markup languages
(e.g. HTML) are human-readable.
</
div
>
</
div
>
</
body
>
</
html
>