background-color: #94C548;
@media (max-width: 500px), (min-width: 700px) {
.flexbox-MQ {display: grid;}
<p style="font-size:2em;">CSS Complex media queries <b>(comma) ","</b></p>
The media query will be true if
<li>flexbox maximum width is 500px(i.e. less than or equal to 500px)
<li>flexbox minimum width is 700px(i.e. width more than or equal to 700px)
so, if any 1 of these media query is true the
entire media expression is true.
<div class="child-val" style="flex-grow: 1">BOX 1</div>
<div class="child-val" style="flex-grow: 1">BOX 2</div>
<div class="child-val" style="flex-grow: 1">BOX 3</div>
<div class="child-val" style="flex-grow: 1">BOX 4</div>