CSS property: -webkit-marquee-style

Description

Specifies the style of marquee motion.

The values scroll and slide both cause the content to start outside the box and move into the box, but if the value scroll is specified, the content stops moving once the last content is visible. The value alternate causes the content to shift back and forth within the box in the specified direction.

Syntax

-webkit-marquee-style: alternate | none | scroll | slide;

Values

alternate

The marquee shifts back and forth.

none

The marquee does not move.

scroll

The marquee loops in its specified direction.

slide

The marquee moves in its specified direction, but stops either when the entirety of its content has been displayed or the content reaches the opposite border of its box, whichever comes second.

Versions