JSFiddle - React, Tailwind, and code Playground
JavaScript
if ( document.defaultView && document.defaultView.getComputedStyle ) {
div.style.width = "1px";
div.style.marginRight = "0";
var cs = document.defaultView.getComputedStyle(div, null)||{}; // fix for blackberry 4.6
jQuery.support.reliableMarginRight = ( parseInt(cs.marginRight, 10) || 0 ) === 0;
}