<div class="content">Lorem ipsum dolor sit amet, consecteturwgeegeg adipiscing elit. Quisque eu velit vel augue tempus fringilla.</div>
.content {
 width:-moz-fit-content;
  width: fit-content;
  background-color: #8ca0ff;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.