Rendering

Paint

Recording what to draw for each box — text, colors, borders, shadows, images — often per layer. It produces draw commands, not pixels; rasterization turns those into pixels.

Changing a box-shadow re-records that box's draw commands without recomputing any positions.

Watch outlines fill with pixels

One of 40 cards in the JavaScript deck. Browse every card.