There is a flexible block with three nested blocks.
div{ height: 20px; } .container{ display: flex; justify-content: space-around; background: gray; } .d1 {background: red;} .d2 {background: green;} .d3 {background: blue;} <div class="container"> <div class="d1">Π’Π΅ΠΊΡΡ</div> <div class="d2">ΠΠ»ΠΈΠ½Π½ΡΠΉ Π΄Π»ΠΈΠ½Π½ΡΠΉ Π΄Π»ΠΈΠ½Π½ΡΠΉ Π΄Π»ΠΈΠ½Π½ΡΠΉ ΡΠ΅ΠΊΡΡ</div> <div class="d3">ΠΠ»ΠΈΠ½Π½ΡΠΉ ΡΠ΅ΠΊΡΡ</div> </div> How to make equal indents from all sides? All gray pieces should be the same length, and not depend on the length of nested blocks.
This simple question baffled me.