Flex-Basis and flex-Grow together

Asked

Viewed 7 times

0

What is the behavior of a flex item with flex-Basis: 300px and flex-Grow: 1 inside a 600px container??? I see no use for flex-Basis in this scenario. Something happens??

<style>
 .container {
     display: flex;
     width: 600px;
}
.item {
     flex-grow: 1;
     flex-basis: 300px;
}
</style>
<div class="container">
   <div class="item">
   flex-item aqui
   </div>
</div>
  • if you do not resolve your doubt tell me that I remove the duplicate vote

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.