Latest News & Articles

Underline.js – Animate text underline

Underline.js – Animate text underline

A javascript library that sets out to do one simple job — draw and animate the most perfect and playful text underline, that’s exactly what underline.js does.

Here are some of the features of the tool:

It is pixel-perfect on the half pixel level for retina displaysIt has an optimized thin stroke width that is always one-sixth of the width of a periodIt sits on the optimal Y position between the baseline and descender line (the golden ratio pointIt has holes around descenders to completely respect the type’s shape

According to the developer, the concept of underline.js is in constant development and is designed to help push the boundary of web typography.