JSFiddle - React, Tailwind, and code Playground

by Yuriy Tarabanko

HTML

<p>This is a potentially large paragraph of text, which <span class="wrapped">may get 
wrapped onto several lines when displayed in the browser.
    I would like to be able to draw a minimal</span> box round the span</p>

CSS

.wrapped {
  outline: 2px solid black;   
}
p {
    margin: 10px;
}