JSFiddle - React, Tailwind, and code Playground

by rgthree

HTML

<script src="https://raw.github.com/aFarkas/html5shiv/master/dist/html5shiv.js"></script>

CSS

body > div {border:1px solid #000; margin:50px;}
header {display:block; background:#F00;}
section {display:block; background:#FC0;}

JavaScript

// IE8 Shiv does not fix cloning :(

// HTMLShiv works:
var el = document.createElement('div');
el.innerHTML = '<header>hi</header><section>hello</section>';
document.body.appendChild(el);

// Cloning Does not:
var el2 = el.cloneNode(true);
document.body.appendChild(el2);