Skip to main content

Morphing Outline

Live preview of the Morphing Outline element in the Salient WordPress theme. Two words on black, each inside a thick circular blue outline; hovering one squares its outline off. Sample content, for demonstration only.
DesignStudio
BuildWorkshop

Morphing Outline wraps a word or phrase in a drawn outline that animates and changes shape on hover. It is an emphasis device for a single phrase inside a larger heading, in the same family as Highlighted Text but drawing a border around the words rather than a mark through them.

Settings​

  • Text Content Text The words to wrap. A word or two, not a sentence.
  • Border Thickness Number The stroke weight of the outline.
  • Starting Color Color The outline color at rest.
  • Hover Color Color What it changes to on hover.
It needs room

The outline is drawn outside the text, so a phrase set tight against the line above it will have its outline clipped or overlapping. Give the heading extra line height where the outline sits.