TipsBlocks Web Technique Library

PRACTICAL WEB TIP

← Back to library

Word Cascade Hover

Three headline words rise in a staggered sequence to give a portfolio title rhythm.

Live Demo

Hover over the element or use Tab to focus.

Source Code

Copy the HTML, CSS or JavaScript you need for your project.

HTML
<a href="#studio" class="tbx-1088" aria-label="View studio profile"><small>CREATIVE STUDIO</small><span class="tbx-1088__words"><span>Make</span><span>Things</span><span>Better<span class="tbx-1088__asterisk" aria-hidden="true">✳</span></span></span><span class="tbx-1088__bottom">ABOUT US <span aria-hidden="true">↗</span></span></a>
CSS
.tbx-1088{width:min(275px,100%);min-height:200px;padding:19px 21px 16px;display:block;background:#eee2cf;color:#3a423e;text-decoration:none;font-family:system-ui,sans-serif;overflow:hidden;position:relative}
.tbx-1088 small{font-size:9px;font-weight:800;letter-spacing:.14em;color:#8b735e}.tbx-1088__words{display:flex;flex-direction:column;font-size:31px;line-height:.94;font-weight:840;letter-spacing:-.075em;margin:13px 0 13px}
.tbx-1088__words>span{display:block;width:max-content;max-width:100%;transition:transform .45s cubic-bezier(.22,1,.36,1),color .25s}.tbx-1088__words>span:nth-child(2){transition-delay:.04s}.tbx-1088__words>span:nth-child(3){transition-delay:.08s}
.tbx-1088__asterisk{font-size:15px;margin-left:9px;display:inline-block;vertical-align:middle;color:#b0643d;transition:transform .5s}
.tbx-1088__bottom{font-size:10px;font-weight:800;letter-spacing:.12em;border-top:1px solid #b7aa97;padding-top:10px;display:flex;justify-content:space-between}
.tbx-1088:is(:hover,:focus-visible) .tbx-1088__words>span{transform:translateX(12px) translateY(-3px);color:#b15f3b}.tbx-1088:is(:hover,:focus-visible) .tbx-1088__asterisk{transform:rotate(90deg)}
.tbx-1088:focus-visible{outline:3px solid #b56942;outline-offset:3px}@media(prefers-reduced-motion:reduce){.tbx-1088 *, .tbx-1088__words>span{transition:none!important}}

How to Use

Insert the HTML and add the CSS to your stylesheet. Adjust colors and sizes and avoid class conflicts.

Use Case

Useful for headings sections and portfolio galleries.

Technical Notes

Keep controls usable on touch devices. Test keyboard focus and reduced-motion preferences.

Mobile:Ensure the interactive content remains accessible without hover on touch devices.

Browser:Uses modern CSS. Check behavior in the browsers you support.

Reduced Motion:Check that prefers-reduced-motion is respected.