188

Merge

Top and bottom halves of the text slide in from opposite sides and merge

TextEnterHeadline & heroTransitionCSSclip-path

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

The headline is split horizontally into top and bottom halves: the top half slides in from the left and the bottom half from the right at the same time while fading in, lining up precisely in the middle to form the complete text (about 0.9 s, strong ease-out); after a pause it fades out. (CSS: two copies of the text, one showing only the top half with clip-path:inset(0 0 50% 0) and the other the bottom half with inset(50% 0 0 0), each with translateX(∓35%) → 0 keyframes)

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More text effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →