Thursday, 12 September 2013

Text background colour cuts to shape and length of text

Text background colour cuts to shape and length of text

is it possible to make the background colour of a line of text fit to the
edge of the text itself?
Here is a visual example of what I'm trying to accomplish:

The text is a <h3> inside a <div> and at present all I can achieve is a
square block background.

No comments:

Post a Comment