编辑代码:
查看结果 »
试一试 - ©
w3ii.com
This div element has width: 500px;
This div element has max-width: 500px;
Tip:
Drag the browser window to smaller than 500px wide, to see the difference between the two divs!