Text background color

Background color for multi line text.

CSS text background color

NB. Pay attention to line-height

margin: 0px 10px; /* adjust left/right according to box-shadow */
display: inline;
background-color: #ebebeb;
box-shadow: 10px 0 0 #ebebeb, -10px 0 0 #ebebeb;
box-decoration-break: clone;

Leave a Reply

Your email address will not be published. Required fields are marked *