JSFiddle - React, Tailwind, and code Playground
HTML
<div id="page_effect">the page</div>
CSS
.js #page_effect { display: none; }
.no-opacity #page_effect { display: block; }
JavaScript
$('html').addClass('js');
if ($.support.opacity) {
$(document).ready(function () {
$('#page_effect').fadeIn(1500);
});
} else {
$('html').addClass('no-opacity');
}