You are here: Reference > CSS > properties > browser specific extensions > -webkit-marquee-repetition
-webkit-marquee-repetition property
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. | |||||||
Integer, the number of repeats. |
Default: infinite.
Example HTML code 1:
This example illustrates the use of the -webkit-marquee-repetition 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?
|
Supported by tags:
Related pages:
-webkit-marquee
-webkit-marquee-direction
-webkit-marquee-increment
-webkit-marquee-speed
-webkit-marquee-style
-webkit-marquee-direction
-webkit-marquee-increment
-webkit-marquee-speed
-webkit-marquee-style
External links:
User Contributed Comments