#logo {
width: max(100px, 18vw);
}
It basically just picks the largest of the two values. Which only really makes sense if one of them is dynamic (like a % or viewport size).
So it will use whatever 18vw
computes to as a value until it is equal to or less than 100px
at which point it will be locked at 100px
as the minimum value allowed.
1 Like
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.