flex layout, two sub-items flex-grow: 1, one of which added padding, is no longer evenly divided
novice, to find a solution! Thanks"()"
<style>
.parent {
display: flex;
}
.kid {
flex-grow: 1;
border: 2px black solid;
}
.kid .b {
padding: 0 100px;
}
</style>
<div class="parent">
<div class="kid">A</div>
<div class="kid">
<div class="b">B</div>
</div>
</div>