You are here: Reference > CSS > properties > browser specific extensions > -webkit-marquee-increment
-webkit-marquee-increment property
Specifies the distance between each step of the scrolling marquee in pixels.
JavaScript page for this property: webkitMarqueeIncrement. You can find other example(s) there. |
Possible values:
One of the following values:
The distance between successive displays of the contents in the marquee object in length units. For the supported length units, see the length page. | |||||||
The distance is the specified percentage of the width of the object. | |||||||
Takes the value of this property from the computed style of the parent element. | |||||||
Same as '36px'. | |||||||
Same as '6px'. | |||||||
Same as '1px'. |
Default: medium.
Example HTML code 1:
This example illustrates the use of the -webkit-marquee-increment 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-repetition
-webkit-marquee-speed
-webkit-marquee-style
-webkit-marquee-direction
-webkit-marquee-repetition
-webkit-marquee-speed
-webkit-marquee-style
External links:
User Contributed Comments