Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<style>
html,body {
color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
}
div {
display: grid;
background-color: lime;
}
table {
min-height: 100px;
}
</style>
<div>
<table>
<caption>Table caption</caption>
<thead>
<tr>
<th>This table should shrink after setting a smaller min-height</th>
</tr>
</thead>
</table>
</div>