You are here: Reference > CSS > properties > browser specific extensions > -webkit-marquee-speed

-webkit-marquee-speed property

Browser support:
Specifies the speed of the scrolling mechanism in a marquee element.
JavaScript page for this property: webkitMarqueeSpeed. You can find other example(s) there.

Possible values:

 One of the following values: 
fast
Defines a fast scrolling speed.
inherit
Takes the value of this property from the computed style of the parent element.
milliseconds (non-negative integer)
Integer, the amount of milliseconds between each step.
normal
Defines a normal scrolling speed.
slow
Defines a slow scrolling speed.
Default: normal.

Example HTML code 1:

This example illustrates the use of the -webkit-marquee-speed property:
<head>
    <style>
        #myMarquee {
            border: 1px dotted #000000;
            width: 200px;
            height: 60px;
            text-align: right;
            -webkit-marquee-direction: forwards;
            -webkit-marquee-increment: 1px;
            -webkit-marquee-repetition: infinite;
            -webkit-marquee-speed: fast;
            -webkit-marquee-style: scroll;
        }
    </style>
</head>
<body>
    <marquee id="myMarquee">
        first line<br />
        second line<br />
        third line
    </marquee>
</body>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content