CSS Demo: 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.
width: 150px;
Copy to Clipboard
width: 20em;
Copy to Clipboard
width: 75%;
Copy to Clipboard
width: auto;
Copy to Clipboard
This is a box where you can change the width.
Copied!