Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<title>CSS 2.1 Test Suite: Test for height:&lt;length&gt; on inline-block</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
<meta name="flags" content="" />
<style type="text/css">
div { display: inline-block; height: 5em; width:10em; vertical-align: baseline; background: green; color: white; }
</style>
</head>
<body>
<div>test</div>
</body>
</html>