TipsBlocks Web Technique Library

PRACTICAL WEB TIP

← Back to library

Italic Word Tension

One headline word stretches sideways and inclines into an italic accent.

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 class="tbx-1183" href="#journal"><span class="tbx-1183__eyebrow">EDITORIAL / VOL.06</span><span class="tbx-1183__line">MAKE IT <em>matter.</em></span><span class="tbx-1183__desc">An editorial exploration ↗</span></a>
CSS
.tbx-1183{box-sizing:border-box;display:grid;align-content:center;gap:13px;width:292px;max-width:100%;height:151px;padding:19px;background:#fff6ed;color:#253b49;text-decoration:none;border:1px solid #eddfcd;font-family:system-ui,sans-serif;overflow:hidden}.tbx-1183__eyebrow{font-size:9px;color:#a16c4e;font-weight:850;letter-spacing:.17em}.tbx-1183__line{font:bold 22px/1.2 Georgia,serif;white-space:nowrap;letter-spacing:-.04em}.tbx-1183__line em{display:inline-block;transform-origin:left bottom;color:#b45256;font-size:30px;font-weight:bold;transition:transform .45s cubic-bezier(.2,.8,.2,1),letter-spacing .45s,color .3s}.tbx-1183__desc{font-size:10px;font-weight:750;letter-spacing:.08em;border-top:1px solid #dbc7b5;padding-top:10px}.tbx-1183:is(:hover,:focus-visible) em{transform:skewX(-13deg) translateX(7px);letter-spacing:.015em;color:#713e85}.tbx-1183:focus-visible{outline:3px solid #b45256;outline-offset:3px}@media(max-width:360px){.tbx-1183__line{font-size:19px}.tbx-1183__line em{font-size:27px}}
@media (prefers-reduced-motion:reduce) {.tbx-1183,.tbx-1183 *,.tbx-1183::before,.tbx-1183::after,.tbx-1183 *::before,.tbx-1183 *::after{transition-duration:.01ms!important;animation-duration:.01ms!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 editorial layouts and hero sections.

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.