concept

Legacy browser — CSS reference

Older browsers may ignore unknown declarations or support only earlier syntax. Progressive enhancement begins with a functional base layout and adds enhancements conditionally; do not identify support merely by a browser brand. This fixture shows a base block plus a supported grid enhancement. Historical engines were not run.

Formal Syntax & Structure

css syntaxcss
display: block; display: grid;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>legacy-browser</title><style>body{margin:8px;font:16px/1.5 sans-serif;color:black;background:white}#a{box-sizing:border-box}#a{display:block}@supports(display:grid){#a{display:grid}}</style><body><div id="a">Example</div></body></html>
CSS Reference