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

-webkit-marquee-repetition property

Browser support:
Specifies the number of times the marquee should repeat.
JavaScript page for this property: webkitMarqueeRepetition. You can find other example(s) there.

Possible values:

 One of the following values: 
An infinite number of times.
Takes the value of this property from the computed style of the parent element.
number of repeats (non-negative integer)
Integer, the number of repeats.
Default: infinite.

Example HTML code 1:

This example illustrates the use of the -webkit-marquee-repetition property:
        #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;
    <marquee id="myMarquee">
        first line<br />
        second line<br />
        third line
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content