marquee-direction property CSS Reference



Definition and Usage

This property determines the initial direction in which the content moves if the marquee effect is used. 'Forward' moves the text so that hidden text appears in the normal reading order, 'reverse' does the opposite.

Name: marquee-direction
Value: forward | reverse
Initial: forward
Applies to: same as 'overflow'
Inherited: yes
Percentages: N/A
Media: visual
Computed value: as specified

Syntax

marquee-direction : forward | reverse;

Values

'overflow-style' 'direction' 'forward' 'reverse'
'marquee-line' 'ltr' left right
'rtl' right left
'marquee-block' up down

Examples

.class {
    marquee: reverse ;
}

Relative articles