If the element's width
is smaller
than the value of max-width
, the max-width
property has no effect, and the element's width
remains based on its assigned width.
In this example, the max-width
is set to 500px
,
but since the assigned width is smaller than this value,
the max-width
property has no effect.