vibran

Split fill button, two-way slide fill button

Portuguese name: Botão cortina dupla

Split-fill button: on hover, two halves of color slide in from opposite sides, top from the left and bottom from the right, and meet in the middle. The text color switches along.

Preview of Split fill button, two-way slide fill button running live
Copy the promptAdjust colors and speed

When to use it

Secondary outline button next to a solid primary. It also triggers on keyboard focus. Change --cortina-preenchimento and --cortina-texto-hover to match the brand, and keep contrast high between them.

How to add it to your site

  1. Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. Done: the AI adds the effect to your project, just like you saw it here.

Use it in HTML

The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:

<button data-efeito="botao-cortina-dupla">Ver os modelos</button>

More buttons effects

All 41 buttons effects →