Map and motion

Marquee

A slow, endless line of big words. Even items are drawn as outlines for a lively rhythm.

Example

Sliding line

  • Buy a home
  • Sell with confidence
  • Rent with ease

Write the items twice. The second list has aria-hidden="true", so screen readers read them once. It pauses on hover and stands still for visitors who prefer reduced motion. Only transform is animated.

Swipe marquee

Buy a home
Sell with confidence
Rent with ease
Invest smart
Free valuation
Trusted locally
Buy a home
Sell with confidence
Rent with ease
Invest smart
Free valuation
Trusted locally

A marquee you can also drag or swipe. It drifts on its own, pauses on hover and keeps going after you let go. Add data-swiper="marquee" to a .swiper with .marquee-swipe. Repeat the words so the loop has enough slides.

Swipe marquee, opposite direction

Buy a home
Sell with confidence
Rent with ease
Invest smart
Free valuation
Trusted locally
Buy a home
Sell with confidence
Rent with ease
Invest smart
Free valuation
Trusted locally

Use .marquee-swipe--solid for a green band with light text, and data-swiper-options with reverseDirection to run it the other way. Stack the two for a classic two-line look.

Classes and attributes

NamePurpose
.marqueeOuter strip, hides the overflow.
.marquee-trackMoves sideways. Holds two identical lists.
.marquee liOne word. A dot is drawn after it.
.marquee-swipe + data-swiper="marquee"Draggable Swiper marquee. --solid gives a green band.