Important Notice:

Course Content
Float Property
0/1
Z-Index
0/1
CSS object-fit Property
0/1
CSS Visibility Property
0/1
CSS (Chapter 4) M2-R5.1
About Lesson

Overflow-x and Overflow-y Property

             Overflow-x या overflow-y property की मदद से horizontal या vertical scroll को show या hide किया जाता है।           

 

Overflow-x and Overflow-y Property

              Horizontal or vertical scroll is shown or hidden with the help of overflow-x or overflow-y property.

 

Example:

<style>

div {

  background-color: #eee;

  width: 200px;

  height: 50px;

  border: 1px solid black;

  overflow-x: hidden;

  overflow-y: scroll;

}

</style>

 

 

 

error: Content is protected !!