9iron/src/meta.php

18 lines
608 B
PHP
Raw Normal View History

2020-08-16 04:02:16 -05:00
<!-- Meta -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- No FOUC -->
<style type="text/css">
.no-fouc {display: none;}
</style>
<script type="text/javascript">
document.documentElement.classname = 'no-fouc';
window.addEventListener("load", function(event) {
// No flash of unstyled content
nf = document.getElementsByClassName('no-fouc');
for (i = 0, len = nf.length; i < len; i++) {
nf[i].removeClass('no-fouc');
}
});
</script>