1
I have the following structure
<div id="container-header">
<div class="center">
<div class="content-header">content-header</div>
<div class="thumb-header">thumb-header</div>
</div>
</div>
div {width: 100%;}
.center {
width: 71.42857142857143%;/*1200/1680*/
margin: 0 auto;
}
.center > div {
height: 120px;
background-color: #ccc;
}
.content-header {width: 83.33333333333333%;/*1000/1200*/}
.thumb-header {width: 14.33333333333333%;/*172/1200*/}
outworking
now when I lower the screen to div thumb-header
loses its normal size, in which case it would have to make a media queries
for each situation or there is another way?
What you mean by "normal size", in fact her size is normal, she corresponds to the size you delimited 14.3% of the father’s width... the smaller the father, visually smaller the children get... What behavior you wanted them to have?
– hugocsl
@hugocsl opa Hugo, type wanted the
thumb-header
accompanied the screen only to maintain the appearance of14.3%
got it? example http://prntscr.com/nwc4tj– goio