Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/webmaster/llms.txt
Use this file to discover all available pages before exploring further.
MarqueeStrip is a horizontal scrolling text ticker — the spiritual successor to the old HTML <marquee> tag. It scrolls its text content continuously from right to left using a custom CSS keyframe animation, giving Webmaster that essential late-90s homepage energy. The component appears twice on the homepage: once at the top with a black background and lemon-yellow text, and once at the bottom with a turquoise background and black text.
How It Works
The component renders itstext prop twice side-by-side inside a single inline-block div, separated by whitespace. This creates a seamless loop: as the first copy scrolls off the left edge, the second copy is already scrolling in from the right, with no visible gap or jump.
.animate-marquee class, which is powered by a @keyframes marquee animation defined in main.css:
overflow-hidden whitespace-nowrap to clip the scrolling content and prevent line breaks.
When the user has
prefers-reduced-motion: reduce enabled in their OS accessibility settings, the .animate-marquee animation is disabled globally in main.css. The text will still render but will not scroll.Props
The text string to display in the scrolling ticker. Rendered twice back-to-back to create the seamless loop effect.
CSS classes appended to the outer container element. Use this to override the default color scheme.Default:
"bg-black text-lemon font-pixel text-xl py-1 border-y-2 border-hotpink"The default produces a black background with lemon-yellow (#FFFACD) text in the VT323 pixel font, bordered top and bottom with 2px hot-pink lines.Usage
Default — top homepage strip
The defaultclassName produces the black/lemon ticker used at the top of the Webmaster homepage:
bg-black text-lemon font-pixel text-xl py-1 border-y-2 border-hotpink
Custom className — bottom homepage strip
Pass aclassName override to swap the color scheme. The bottom strip on the homepage uses a turquoise background with black text and black borders:
Side-by-side in a layout
Component Implementation
The
className prop is appended to the default class string, not replacing it. If you want a fully custom color scheme, be aware that Tailwind’s cascade order matters — you may need to use !important modifiers (e.g. !bg-white) if a default class conflicts with your override.Animation Timing
The.animate-marquee keyframe runs at 15 seconds linear infinite. For longer text strings the scroll speed will feel slower (the same 15s duration covers more content), so consider shortening the text or adjusting the animation duration via a custom class if the pacing feels off.