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).
|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:
Did you find this example helpful?
Supported by tags:
User Contributed Comments