Render Flow - Flex container
[Parse CSS] -> [Find selector: .container] -> [Apply display:flex] -> [Create flex formatting context] -> [Arrange children as flex items] -> [Calculate main and cross axis] -> [Layout flex items] -> [Paint and Composite]
The browser reads the CSS, finds the flex container selector, applies display:flex, creates a flex formatting context, then arranges and lays out the children along the main and cross axes before painting.