<p class="highlight" contenteditable>
	<span class="orange">text</span> Hilghlight <span>test</span>
</p>
body {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/* 	background: rgba(72, 48, 230, 0.1); */
	padding: 5% 7.5%;
}

p {
	/* Text Styles */
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 6em;
/* 	line-height: 1.6em; /* Block Display */
	line-height: 1.2em; /* Spaced Display */
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

span {
	box-shadow: inset 0 1.2em 0 0 hsl(120, 80%, 50%);
	padding-inline: 0.2em;
	margin-inline: -0.2em;
}

.orange {
	box-shadow: inset 0 -110px 0 0 hsl(16, 100%, 50%);
	color: white;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.