Width and max width difference

what is the difference between the max (or min) width attribute and the simple width attribute?

Hi welcome to the forums!

Max/min basically sets a limit as to what size an object can become (say, if someone is resizing the window or using a different device).

Plain width is just that. If you give it a percentage value it will respond to window size alterations, but a fixed value won’t change.