Author: Yuri Gor

Show hidden part of truncated text on hover/touch

Here are three ways to show hidden part of truncated text on touch/hover without Javascript 1) overflow:visible Hover over or touch me to see the full version of this string. It looks like replaced by tooltip some other stuff Pros: No Javascript Good readability Small and simple cross-browser CSS code Easy to render. Contras: Need extra markup (inner span wrapper)…