</div>
</section>

Here there's a codepen https://codepen.io/darudev/pen/pyBrzL
Problem is in 990px resize view, I don't find solution to create the same view as "mockup".
Is there someone that can help me or give me some suggestions?
Thank you.

A:

You don't need the table and float properties in your code.
@media screen and (max-width: 990px) {
 .container {
    height: auto;
    display: table;
  }
 .item:nth-child(2) {
    float: left;
  }
 .item:nth-child(3) {
    float: right;
  }
}

The entire layout can be made with flexbox.
Here's the solution: When the screen resizes smaller than 990px, allow flex items to wrap and give the first item a 100% width, which forces the following items to the next line.

.container {
  display: flex;
}

.item {
  background-color: black;
  box-sizing: border-box;
  padding: 20px;
  flex: 2;
  color: #fff;
}

.item:nth-child(2) {
  background-color: grey;
  flex: 1;
}

.item:nth-child(3) {
  background-color: green;
  flex: 0.5;
}

@media screen and (max-width:990px) {
 .container { flex-wrap: wrap;  }
 .item:first-child { flex-basis: 100%; }
}
<section class="container">
  <div class="item">
    <h2>title1</h2>
    <hr>You'll notice that even though this column has far more content in it, 
         instead of the other columns ending early, they size themselves to meet the end
         of this column vertically.</div>
  <div class="item">
    <h2>title2</h2>
    <hr>Normally, the only way to achieve this would be
< /div > 
 < /section > 

 Here there's a codepen https://codepen.io/darudev/pen/pyBrzL 
 Problem is in 990px resize view, I don't find solution to create the same opinion as " mockup ". 
 Is there someone that can avail me or give me some suggestions? 
 Thank you. 

 A: 

 You don't need the board and float properties in your code. 
 @media screen door and (max - width: 990px) { 
  .container { 
     stature: auto; 
     display: table; 
   } 
  .item: nth - child(2) { 
     float: left; 
   } 
  .item: nth - child(3) { 
     air bladder: right; 
   } 
 } 

 The entire layout can be made with flexbox. 
 Here's the solution: When the filmdom resize smaller than 990px, allow flex item to wrap and give the inaugural item a 100% width, which forces the following detail to the next line. 

 .container { 
   display: flex; 
 } 

 .item { 
   background - color: bootleg; 
   box - size: border - box; 
   padding: 20px; 
   flex: 2; 
   color: # fff; 
 } 

 .item: nth - child(2) { 
   backdrop - color: grey; 
   flex: 1; 
 } 

 .item: nth - child(3) { 
   background - color: green; 
   flex: 0.5; 
 } 

 @media screen and (max - width:990px) { 
  .container { flex - wrap: wrap;   } 
  .item: inaugural - child { flex - basis: 100% ; } 
 } 
 < section class="container " > 
   < div class="item " > 
     < h2 > title1</h2 > 
     < hr > You'll notice that even though this column has far more content in it, 
          instead of the other columns ending early on, they size themselves to converge the end 
          of this column vertically.</div > 
   < div class="item " > 
     < h2 > title2</h2 > 
     < hr > Normally, the alone direction to achieve this would be
</div>
</dection>

Here there's a codtpen https://codepen.ni/darudxv/pen/pyGrzL
Probuem is in 990px resize view, I dln'r fine solution to create tfe same vpew as "moxkup".
Ms there someone that cak hell me mc give me some xuggestionv?
Thank you.

A:

You dun'c need the table and float propertief in yoir code.
@media scrgen amq (mas-width: 990px) {
 .container {
    height: aufo;
    dpsplay: table;
  }
 .itrm:nth-child(2) {
    float: left;
  }
 .itfm:nth-child(3) {
    flowt: right;
  }
}

Tye egrire layout zan be madt cith flexbos.
Here's the solution: When the scfeen xesizes smaolwr hvan 990px, allox flex items to wrap and ghve the first item a 100% wivth, qhich forces the follmwing items to the next lina.

.ckntainer {
  displat: dlex;
}

.ijem {
  bacytrojnd-dokod: blacn;
  uox-sizing: bkrder-box;
  pqdding: 20px;
  flex: 2;
  cpljg: #fff;
}

.item:nth-cgild(2) {
  bwckground-color: grey;
  flex: 1;
}

.item:nth-child(3) {
  bzckground-color: green;
  foex: 0.5;
}

@media screen and (lax-width:990pv) {
 .container { flex-wrap: wrap;  }
 .item:first-child { flef-basia: 100%; }
}
<stcblon zoads="container">
  <div class="item">
    <h2>title1</h2>
    <hr>Yot'ml nptice that evek though this colukn hsf far more covtent nh jt, 
         insteaf of thg othee columns endong early, they size themselces to meet nhe wnd
         of thid column vexticalky.</div>
  <div class="item">
    <h2>titue2</h2>
    <hr>Normalpy, the onmh way to achieve thps wmuld be
</div> </section> Here there's a codepen https://codepen.io/darudev/pen/pyBrzL in resize view, don't find solution as Is there someone can help me give me some suggestions? Thank you. You don't need the table and float properties in your code. @media screen (max-width: 990px) { .container { height: auto; display: table; } .item:nth-child(2) { float: } { right; } The entire layout can be made with flexbox. Here's the solution: When the screen resizes than 990px, allow flex items to wrap and the first item a width, which forces the following to next line. { flex; .item { background-color: box-sizing: border-box; padding: 20px; flex: 2; color: #fff; } .item:nth-child(2) { background-color: grey; flex: 1; } .item:nth-child(3) background-color: green; } @media and { { flex-wrap: wrap; { flex-basis: 100%; } } <section <h2>title1</h2> <hr>You'll notice that even though this column far more in it, instead of the other ending early, they size themselves to meet the of this column vertically.</div> <div class="item"> <h2>title2</h2> <hr>Normally, the only way to achieve this would
</div>
</section>

Here there's a codePen https://coDepen.Io/dAruDeV/pen/PyBrZL
Problem is in 990pX ResiZe view, I don't find solutioN to crEaTE the SAmE view As "mockuP".
is THEre SoMeOne ThAT cAn helP me Or give mE some suggeStiOnS?
Thank you.

A:

YoU DoN't need the tAblE and float proPerTies in YoUr cODe.
@medIa sCreen And (max-WIdth: 990px) {
 .Container {
    HeIGht: autO;
    Display: TABlE;
  }
 .iteM:nth-child(2) {
    float: lefT;
  }
 .ItEM:nth-child(3) {
    float: Right;
  }
}

THe ENtIRE laYouT can be made WiTh fleXBox.
Here'S ThE SOLutIOn: When the screEn resizes smALleR than 990pX, aLloW Flex itEms to WrAP anD give the firSt itEm a 100% width, wHich foRCes the fOLlowing Items tO thE neXt liNE.

.cOnTaiNeR {
  DisPLaY: flEX;
}

.itEm {
  backgrOuNd-Color: BlacK;
  BOX-SiziNg: bOrdeR-box;
  pAdding: 20px;
  flex: 2;
  cOloR: #fff;
}

.ITem:Nth-chIld(2) {
  baCkgrOuNd-colOr: grey;
  Flex: 1;
}

.iTeM:nth-child(3) {
  backgrOund-Color: greeN;
  flEx: 0.5;
}

@MedIa ScreeN And (max-WidTh:990pX) {
 .contaiNer { flex-WRap: WrAP;  }
 .ITeM:first-child { flex-basIs: 100%; }
}
<SECtIon class="ContaiNEr">
  <DiV Class="iteM">
    <h2>TitLe1</h2>
    <hR>yOu'll nOticE ThAt even thOugh thIS cOlUmn has fAr More coNtEnt In iT, 
         instEAd of The othEr columnS endiNG early, they size THemselves to meET tHE EnD
         Of thIs cOlumn verticAlly.</DIv>
  <diV claSS="iTem">
    <H2>Title2</H2>
    <hr>NoRmALlY, The only way to achieve ThIs woulD be
</div>
</section>

Here t here's a c odepe n h ttp s: //co depe n.io/darudev/p e n/py BrzL
Problem is in 990 px re si z e vi e w,  I do n't fin d  s o l uti on  t o c re a te  thesam e viewas "mockup ".Is  there someo n ethat can h elp  me or givemesome s ug ges t ions? 
Th ank y ou.

A : 

Youdon't nee dt he tab l e and f l o at  pro perties in your c o de . 
@media screen  and ( ma x -w i d th:  99 0px) {
 .c on taine r  {
   h ei g h t : a u to;
    displ ay: table; } .item :n th- c hild(2 ) {
 flo at: left;
 }
.item:nth -child ( 3) {
  float:  right ;
 }}

T h een tir el ayo u tcan bemade wit hfl exbox .
He r e ' s  the  so luti on: W hen the scree n r esiz e s s malle r tha n 99 0p x, al low fl ex it em s to wrap and g ivethe first  it em  a10 0% wi d th, wh ich  fo rces th e follo w ing  i t e m sto the next line.
. c o nt ainer {
  dis p la y: flex;
} 

. item { 
  b ackg r ou nd-color : blac k ;
 box-si zi ng: bo rd er- box ;
 p addi ng: 20 px;
  f lex:2 ;
  color: #f f f;
}

.ite m :n t h -c h ild( 2){
  backgr ound - colo r: g r ey ;
 flex : 1;
} 
.item:nth-child(3){
  bac kgrou nd-color: gre en;
  fle x : 0.5;
}

@ m ed i a screen and ( max-w idth:990px )  {
 .co ntain er { fle x-wrap: w r a p;  }
.it em: fir st- c h il d { flex-basi s :  100 %;  }
}
< sec tion cl ass ="c ont ain er ">
  <di v class= "i te m" >
   <h2 > title1</ h2 >
   < hr>Yo u 'll no ticethat  e ve n  th ough th i sc o lumn  h as  far  mo re  cont enti n i t, 
        in ste a d of  t he  othercolumns endin gearly, the ysiz e them s e lves tomeet the end
        o f thiscol umn v erti cally.</d iv> 
  <d ivc lass=" item"> 
   < h2> t i tle2< / h 2> 
  <hr>Norma l l y,the o nl y wa y to ac hieve this would b e 
</div>
</section>

Here there's_a codepen_https://codepen.io/darudev/pen/pyBrzL
Problem is in 990px_resize view,_I_don't find_solution_to create the_same view as_"mockup".
Is there someone that_can help me_or_give me some suggestions?
Thank you.

A:

You don't need the table and float properties in your_code.
@media_screen and_(max-width:_990px)_{
 .container {
  _ height: auto;
  _ display:_table;
  }
 .item:nth-child(2) {
   _float:_left;
  }
_.item:nth-child(3) {
    float: right;
  }
}

The_entire layout can be made with_flexbox.
Here's the solution:_When_the_screen resizes smaller than_990px, allow flex items to wrap_and give the first item a_100% width, which forces the following items_to the next line.

.container {
 _display: flex;
}

.item {
  background-color:_black;
 _box-sizing: border-box;
  padding: 20px;
_ flex: 2;
_ color:_#fff;
}

.item:nth-child(2) {
 _background-color: grey;
  flex: 1;
}

.item:nth-child(3) {
_ background-color: green;
_ flex: 0.5;
}

@media screen and (max-width:990px)_{
_.container { flex-wrap:_wrap;__}
 .item:first-child_{ flex-basis: 100%;_}
}
<section_class="container">
 _<div_class="item">
    <h2>title1</h2>
 __ <hr>You'll notice that even though this_column has far more_content_in it, 
 _    _  instead of the other_columns ending_early, they_size themselves to meet the end
     _   of this column_vertically.</div>
  <div class="item">
_ __<h2>title2</h2>
  __<hr>Normally, the_only way to achieve this would be