Easy Tutorial
❮ Css Colors Legal Css3 Pr Box Lines ❯

CSS3 overflow-style Property

Example

Set the preferred scrolling method for overflowing elements:

div {
  overflow: auto;
  overflow-style: marquee, panner;
}

Browser Support

Currently, major browsers do not support the overflow-style property.


Definition and Usage

The overflow-style property specifies the preferred scrolling method for overflowing elements.

| Default value: | auto | | Inheritability: | no | | Animatable: | no. Read about animatable | | Version: | CSS3 | | JavaScript syntax: | object.style.overflowStyle="scrollbar" |


CSS Syntax

overflow-style: auto|scrollbar|panner|move|marquee;

Note: The value can be auto, or a list of methods in order of preference. The browser should use the first scrolling method it supports from the list.

Value Description
auto
scrollbar Adds scrollbars to the overflowing element.
panner
move Allows users to directly move the content of the element. Typically, users can drag the content with the mouse.
marquee The content moves on its own, without any user agent control.
❮ Css Colors Legal Css3 Pr Box Lines ❯