This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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;
}

View live example

Notes

The actual speed depends on the UA and the type of content.

Related specifications

CSS Marquee Module Level 3
Candidate Recommendation