CSS3 overflow-style property
Example
Set the preferred scrolling method for overflow elements:
div
{
overflow:auto;
overflow-style:marquee,panner;
}
Try it Yourself »
Browser Support
![]()
Currently, mainstream browsers do not support the overflow-style property.
Definition and Usage
overflow-style specifies the preferred scrolling method for overflowed content.
| Default Value: | auto |
| Inheritance: | no |
| animation: | no. readinganimatable |
| version: | CSS3 |
| JavaScript Syntax: | object.style.overflowStyle="scrollbar" |
CSS Syntax
overflow-style: auto|scrollbar|panner|move|marquee;
Note:The value can be either auto or a list of methods in order of priority. The browser should use the first scrolling method in the list that it supports.
| Value | Description |
|---|---|
| auto | |
| scrollbar | Add scrollbars to overflow elements. |
| panner | |
| move | Users can directly move the content of an element. Typically, users can drag the content with the mouse. |
| marquee | The content moves on its own without any control by the user agent. |