Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE HTML>
<html>
<head>
<title>CSS Reference: intrinsic width of max-width: calc() on blocks</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<style type="text/css">
body > div { margin: 0 0 1px 0; background: blue; color: white; height: 5px }
</style>
</head>
<body>
<div style="width: 400px"></div>
<div style="width: 47px"></div>
<div style="width: 400px"></div>
<div style="width: 400px"></div>
<div style="width: 50px"></div>
<div style="width: 400px"></div>
</body>
</html>