A scrollbar can be used to move the viewing window right, left, up or down.
Seven Pseudo-elements can be used to implement the full scrollbar UI elements in webpages with the help of CSS are:-
Setting -webkit-scrollbar is a good way to define the scroll bar to your webpage for
-webkit-scrollbars also have shorthand properties through which you can style your scrollbar’s
CSS provides the “overflow: scroll;” attribute to show the horizontal and vertical scroll.
For horizontal scrolling: “ overflow-x: scroll;”
For vertical scrolling: “ overflow-y: scroll;”
E.g.
body {
overflow-x: scroll;
overflow-y: scroll;
}
Overflow will be discussed in detail in CSS Overflow Tutorial.
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
Online website
|