Style non-blocking
by Alligatorio
HTML
<!DOCTYPE html>
<html>
<head>
<link rel="preload" onload="this.rel = 'stylesheet'" as="style" href='https://fonts.googleapis.com/css?family=Roboto:400,100,500,700,900,800|Material+Icons'>
</head>
<body>
Hello
</body>
</html>
CSS
html {
font-family: Roboto;
}
JavaScript
window.onload = function () {
console.log('Loaded')
}