# Set the maximum width that a box can be with CSS

CSSWeb DevelopmentFront End Technology

The max-width property is used to set the maximum width that a box can be. The value of the max-width property can be a number, a length, or a percentage.

## Example

<html>
</html>