<!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"
>
<
style
>
body {
text-align: center;
}
h1 {
color: green;
}
.container {
margin: 20px;
width: 400px;
height: 200px;
border: 1px solid #ccc;
overflow: scroll;
}
.container::-webkit-scrollbar {
width: 10px;
}
.container::-webkit-scrollbar-track {
background: #f1f1f1;
}
.container::-webkit-scrollbar-thumb {
background: #888;
}
.text {
font-size: 18px;
line-height: 1.5;
padding: 10px;
}
</
style
>
</
head
>
<
body
>
<
h1
>GeeksforGeeks</
h1
>
<
b
>How to avoid CSS text-overflow: ellipsis?</
b
>
<
center
>
<
div
class
=
"container"
>
<
p
class
=
"text"
>
This CSS tutorial, whether you’re a
student or a professional, this
tutorial is a valuable resource to
enhance the visual appeal of your
websites or personal blogs. It covers
all the basic and advanced concepts
of CSS, such as properties, selectors,
functions, media queries and more.
CSS is used to enhance the visual
presentation of web pages. Without
the use of CSS, a web page will appear
visually unappealing. Styling is
an essential property for any website.
It increases the standards and overall
look of the website that makes it
easier for the user to interact with
it. A website can be made without CSS,
as styling is MUST since no user would
want to interact with a dull and shabby
website. So for knowing Web Development,
learning CSS is mandatory.
</
p
>
</
div
>
</
center
>
</
body
>
</
html
>