-webkit-marquee property
Specifies up to five separate marquee properties, in a shorthand form.
With this property you have control over how text within the marquee element should be scrolled.
You can set the direction, repetition time, distance between each step and the speed of the marquee.
Furthermore, you can set how the marquee should behave at the beginning and end points of each repetition
(scroll like news-scrollers, slide like presentation slideshows, or it can bounce back from the side of the marquee, like a ball does).
JavaScript page for this property: webkitMarquee. You can find other example(s) there. |
Possible values:
One of the following values: | ||||||||||||||||
|
Description of values:
Specifies the scrolling direction of the marquee. | |||||||
Specifies the distance between each step of the scrolling marquee in pixels. | |||||||
Specifies the number of times the marquee should repeat. | |||||||
Specifies the speed of the scrolling mechanism in a marquee element. | |||||||
Specifies the style of scrolling in a marquee element. | |||||||
Takes the value of this property from the computed style of the parent element. |
Default: auto medium infinite normal scroll.
Example HTML code 1:
This example illustrates the use of the -webkit-marquee property:
|
||||
<head> <style> #myMarquee { border: 1px dotted #000000; width: 200px; height: 60px; text-align: right; -webkit-marquee: up medium 2 normal 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-direction
-webkit-marquee-increment
-webkit-marquee-repetition
-webkit-marquee-speed
-webkit-marquee-style
-webkit-marquee-increment
-webkit-marquee-repetition
-webkit-marquee-speed
-webkit-marquee-style
External links:
User Contributed Comments