max-width overrides width, but min-width overrides max-width. - MDN
The quote is from MDN documentation, but what they really mean? I don't see any difference if I place width, max-width and min-width in the example below in a different order, e.g. min-width first.
div {
background: silver;
/* 500 px if the width of the parent element is ≥ 1000 px,
300 px if the width of the parent element is ≤ 600 px,
50% of the width of the parent element otherwise */
width: 50%; max-width: 500px; min-width: 300px;
}
<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>