marquee-speed
Summary
The marquee-speed determines how fast the marquee content scrolls.
Overview table
- Initial value
normal
- Applies to
- non-replaced block-level elements and non-replaced ’inline-block’ elements
- Inherited
- Yes
- Media
- visual
- Computed value
- as specified
- Animatable
- No
- CSS Object Model Property
marqueeSpeed
- Percentages
- n/a
Syntax
marquee-speed: fast
marquee-speed: normal
marquee-speed: slow
Values
- slow
- slower than normal
- normal
- faster than slow, slower than fast
- fast
- faster than normal
Examples
A basic example on how to use marquee-speed.
h1 {
overflow: auto;
overflow-style: marquee-line;
white-space: nowrap;
width: 200px;
marquee-speed: fast;
}
Notes
The actual speed depends on the UA and the type of content.
Related specifications
- CSS Marquee Module Level 3
- Candidate Recommendation