Answer the question
In order to leave comments, you need to log in
How to calculate content area width if wrapper display: flex;?
I'm interested in how to calculate the width using this code and how display: flex; affects it.
.wrapper
{
display: flex;
flex-direction: column;
max-width: 150px
}
.content
{
box-sizing: border-box;
width: 120px
height: 200px;
padding: 10px 15px 20px 25px;
}
content is inside the wrapper
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question