Learn Accessibility by Building a Quiz - Step 8

Tell us what’s happening:
Actually i want to report a typo in the instructions as it is said that the width max function ```
img {
width: max(250px, 25vw);

 will adjust the minimum width
width: max(250px, 25vw);

This means that the width of the element will be either 250px or 25vw, whichever happens to be greater. That’s what the max function does, it chooses the biggest value from the list of values passed into it. So in this case, the width will always be at least 250px since if 25vw evaluates to less than 250px then the max function will choose 250px.

So yes, you can say that the minimum width of this element will be 250px because the max function will never allow the width to go below that value.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.