CSS · Units

cqmin / cqmax

One percent of the smaller or larger container dimension.

Syntax
10cqmin

Example

Try it

More in this group

% (percentage) cap ch cm / mm / in cqw / cqh deg dpi / dppx dvh / svh / lvh

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course