Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>flex-basis:inherit applies zoom</title>
<link rel=match href=flex-basis-ref.html>
<style>
.container {
display: flex;
background: skyblue;
flex-basis: 50px; /* For explicit inheritance. */
}
.zoomed {
background: coral;
zoom: 2;
flex-basis: inherit;
height: 100px;
}
</style>
<div class=container>
<div class=zoomed></div>
</div>