concept

Render blocking css — CSS reference

A normal applicable stylesheet linked in the document head can delay initial rendering until required style information is available. A nonmatching media condition can avoid that blocking role, although the resource may still download. The example shows applicability of conditional rules; it does not request external CSS or measure network blocking.

Formal Syntax & Structure

css syntaxcss
<link rel="stylesheet" href="theme.css">

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>render-blocking-css</title><style>body{margin:8px;font:16px/24px sans-serif;color:black;background:white}#a{box-sizing:border-box}#a{color:green}@media print{#a{color:red}}</style><body><div id="a">Sample</div></body></html>
CSS Reference