Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<title>CSS Reference: Baseline of nested flex containers with stretched textfield inside</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<meta charset="utf-8">
<style>
.ib {
display: inline-block;
}
.innerFlex {
display: flex;
height: 200px;
}
</style>
</head>
<body>
abc
<div class="ib">
<div class="innerFlex">
<input value="def">
</div>
</div>
</body>
</html>