CSS Overflow-Y Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

These properties specify whether content is clipped when it overflows the element's content area.

Syntax

overflow-y: [value];

Possible values

  • visible
  • hidden
  • scroll
  • auto
  • no-display
  • no-content

Initial Value

visible

Applies To

non-replaced block-level elements and non-replaced ‘inline-block’ elements

Inherited

No

Media

Visual

Example

.class {
  overflow-y: scroll ;
}


View All CSS Properties