concept

Rasterization — CSS reference

Rasterization turns drawing descriptions into pixel data at a chosen scale. A CSS pixel is not necessarily a device pixel. The black border and white interior in this sample are raster output; the test does not expose tile boundaries, GPU use or raster scheduling.

Formal Syntax & Structure

css syntaxcss
border: 4px solid black;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>rasterization</title><style>body{margin:8px;font:16px/24px sans-serif;color:black;background:white}#a{box-sizing:border-box}#a{width:80px;height:60px;border:4px solid black;background:white}</style><body><div id="a" aria-label="Outlined square"></div></body></html>
CSS Reference