
I have three divs in the content div when resizing the browser
- blue and red div should have a fixed width
- the green div should resize to the left.
I also tried this in css
.yellow{ height: 100%; width: 100%; } .red{ height: 100%; width:200px; display:inline-block; background-color: red; } .green{ height: 100%; min-width:400px; display:inline-block; background-color:green; } .blue{ height: 100%; width:400px; display:inline-block; background-color: blue; }
This code does not resize the green div, in some browsers the red panel does not show
I also tried float: left and
display: -webkit-flex; display: flex;
but not working correctly. How to do it?
source share