JSFiddle - React, Tailwind, and code Playground

by Matthew Day

HTML

<div>

</div>

CSS

div {
  position: relative;
}

div:after {
  content: 'hey\Athere';
  left: 0;
  position: absolute;
  white-space: pre-wrap;
  top: 0;
}

JavaScript

// making sure Explorer wraps to two lines when using the 'content' property on a pseudo element

// SOURCES
// http://stackoverflow.com/questions/9062988/newline-character-sequence-in-css-content-property