JSFiddle - React, Tailwind, and code Playground

by acwong

HTML

<div class="disable-select" data-content="456">123</div>

CSS

.disable-select:after {
  content: attr(data-content);
}