CSS Demo: max-width
Reset
Interactive examples cannot be shown because JavaScript is disabled.
This feature is not supported by your current browser. Check Browser compatibility for more details.
max-width: 150px;
Copy to Clipboard
max-width: 20em;
Copy to Clipboard
max-width: 75%;
Copy to Clipboard
max-width: 20ch;
Copy to Clipboard
Change the maximum width.
Copied!