November 12, 2013 10:09 pm GMT
Original Link: http://css-tricks.com/multi-line-padded-text/
Multi-Line Padded Text
This is one of those tricky CSS things that I see come up every few months. I guess what better place to address it than CSS-Tricks eh?
The situation involves ragged-right inline text. Like when a paragraph of text breaks to the next line whenever the next word won't fit (i.e. most text on the internet). You want to add a background behind that text which:
- Follows the ragged-right edge
- Is padded along both the left and right edge of …
Multi-Line Padded Text is a post from CSS-Tricks
Original Link: http://css-tricks.com/multi-line-padded-text/
Share this article:
Tweet
View Full Article