Answer the question
In order to leave comments, you need to log in
What is the correct way to work with min/max width?
Good evening, please tell me how to do it correctly, if two elements in the parent, then the first child took a width of 400 pixels, if one element, then the first child took the width of the parent?
Now it's like this when there are 2 elements
It should be like this
And if there is only one element then
Here is the code:
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