Component · Text animations

Outline text CSS index with colour fill

by Informeek Studio 11 November 2026
Live Hover each word, or tap it on a phone, to fill it in red

The prompt

Build an outline text CSS index for an architecture studio. Warm paper page (#efeee9). A top bar "Atelier Morrow" over a 1.5px ink rule. Below, three full width rows separated by 1px #d6d3ca lines. Each row is a button: a small number (01, 02, 03), a giant uppercase word in weight 900 at 176px on desktop and 54px on phones, and a caption on the right. Words are Space, Light and Matter; captions in grey (#77736b) describe each service. The words are outline text, transparent fill with a 1.5px #141414 -webkit-text-stroke. A ::after copy of the word from a data attribute sits on top in solid signal red (#ff3b1f) and is hidden with clip-path inset(0 100% 0 0); on the active row it wipes open from left to right over 700ms with cubic-bezier(.77,0,.18,1) while the number turns red and the caption slides in. Mouse hover, keyboard focus or a tap activates a row, and the rows take turns by themselves every 2.6 seconds when nobody is hovering. On phones the captions sit under each word at 55% opacity. Finish with a line "We design around three things and say no to almost everything else." and a black pill "Start a project" link that turns red on hover. Turn the wipe into an instant switch for reduced motion.

Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.

Use it in three steps

  1. Copy the prompt with the button above.
  2. Paste it into your AI site builder, or any AI chat that writes code.
  3. Make it yours by listing your own services or projects as the three words.

About this outline text CSS index

Outline text in CSS is one property, a text stroke with a transparent fill, but it changes the mood of a page completely. Hollow letters feel drawn and architectural, which is why this index for a design studio uses them for its three big words. Hover a row and a solid red copy of the word wipes across it from left to right, as if someone were colouring it in.

The red copy is a pseudo element holding the same word, laid exactly over the outline and hidden with a clip path. Opening the clip path animates the fill without touching the layout, so it stays smooth even at 176 pixels. When nobody is hovering, the rows take turns on their own, which also means a phone visitor sees the effect without doing anything.

Why the prompt works

  • It names the technique. A text stroke plus a clipped copy gives a clean fill that a gradient trick cannot.
  • It sets the easing. A strong in and out curve makes the wipe feel deliberate.
  • It treats rows as buttons. Focus and tap work the same way as hover.

Where to use it

Portfolio and agency homepages, service lists, case study indexes and editorial menus with only a few big items.

The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.

Keep exploring

More prompts like this

See the collection →
Live
Component · Text animations

Paper fold text effect

Live
Component · Text animations

Echo text effect headline

Live
Component · Text animations

Blur text reveal headline