A focused look at CSS size container query features beyond min-width. Covers how container-type: size enables querying both dimensions, with practical examples of orientation, aspect-ratio, height, and logical properties (inline-size, block-size) in @container rules. Notes a caution from Miriam Suzanne about potential side effects of the size option.

2m read timeFrom matuzo.at
Post cover image
Table of contents
orientationheightlogical properties