Flex: 1 vs margin-inline: auto
Hello, can someone explain the difference between setting a flex item to
What I wanted to know specifically is, if we use margin inline and flex of 1 on the same element, will this cancel out the effect of flex 1 to grow, because the available space will be distributed accordingly, no?
flex: 1 and using margin-inline: auto pls.What I wanted to know specifically is, if we use margin inline and flex of 1 on the same element, will this cancel out the effect of flex 1 to grow, because the available space will be distributed accordingly, no?
