If it blocks a level element, it should be 100% by default, so there is no need to declare a width, then max-width: 512px; will cut it
calc() not supported very well, but in this case I don’t think you need it
clairesuzy Apr 15 2018-11-11T00: 00Z
source share