elibraryportal Logo

CSS Overflow (Layout)

The following values of Overflow :

  • visible: - This is Default.
  • hidden: - It is invisible.
  • scroll: - It is scrollbar to added content
  • auto: - Similar to scrollbar

1) CSS Overflow: visible

Example:-

Test it Now

2) CSS Overflow: hidden

hidden value is used to some clip test is hidden.

Example:-

Test it Now

3) CSS Overflow: Scroll

Scroll, the all text area see in exmple.

Example:-

Test it Now

4) CSS overflow: auto

There are two properties overflow-x & overflow-y that means horizontally or vertically

  1. overflow-x :- Scroll the Left/Right Textarea of the content
  2. overflow-y :- Scroll the Top/Bottom Textarea of the content

Example:-

Test it Now