dropshado.ws

Front-end development minutiæ

by David DeSandro

Archive
RSS feed
Twitter
original Tumblr version

Absolute text wrap

When an element is positioned partly outside the window AND that element does not have a width set, its text will wrap inside the window.

See the Pen absolute text wrap by David DeSandro (@desandro) on CodePen.

This behavior threw me for a loop on this Masonry bug.

28 Jul 2014
  • CSS
Page of
  • desandro.com
  • @desandro
  • github.com/desandro
  • desandro’s JS Fiddles