overflow

英[ˌəʊvəˈfləʊ] US[ˌoʊvərˈfloʊ]

vt.& vi. Overflow, drown; crowd, fill; overflow; overflow of resources

n. Flood, overflow; overflow pipe; overflow, excess; overflow

vi. Flood, overflow; overflow

adj. Overflow, fullness

Third person singular: overflows Present participle: overflowing Past tense: overflowed Past participle: overflown

##style

英[staɪl] 美[staɪl]

n. Way; style; fashion; appearance, taste

vt. design; title; shape for...

vi. To make it conform to the popular style; to make decorative paintings with a carving knife

Third person singular: styles Plural: styles Present participle: styling Past tense: styled Past participle: styled

css overflow-style attribute syntax

Function: Specifies the preferred scrolling method for overflow elements.

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

Description: auto , scrollbar is overflow Add scrollbars to the element. panner , move Users can directly move the content of elements. Typically, users can drag content with the mouse. Marquee content moves autonomously without any user agent controlling it.

Note: The value can be either auto, or a list of methods in priority order. Browsers should use the first scroll method in the list that they support. No browser currently supports the overflow-style attribute.

css overflow-style attribute example

<!DOCTYPE html>
<html>
<head>
<style> 
div
{
width:150px;
height:50px;
border:thin solid black;
overflow:hidden;
overflow-style:marquee,panner;
}
</style>
</head>
<body>

<div>
这是一个段落。这是一个段落。这是一个段落。这是一个段落。
这是一个段落。这是一个段落。这是一个段落。这是一个段落。
这是一个段落。这是一个段落。这是一个段落。这是一个段落。
这是一个段落。这是一个段落。这是一个段落。这是一个段落。
这是一个段落。这是一个段落。这是一个段落。这是一个段落。
</div>

<p>overflow-style 属性规定溢出元素的首选滚动方法。</p>
<p><b>注释:</b>目前没有浏览器支持 overflow-style 属性。</p>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance