I was reading in Stack Overflow on setting CSS rules for widths, and did remember coming across a comment saying that depending on the order of the CSS properties are set, width in % would override anything that is set by min-width and max-width. How true is this for other people who have used CSS to code sites before? Do frameworks such as PureCSS and Bootstrap override such behaviours?
The width
property sets a static width for an element. That means that the max-width
and min-width
no longer mean anything to the output, because there is no need for change, if the width
is always the same.
If you know what something will ALWAYS be, you don’t need to specify a range for it.
2 Likes