html - What if my screen resolution is less than layout resolution? -


i try make area this:

enter image description here

but problem resolution of screen less layout. best way shape in layout? have use custom % or responsive table, think?

use flexbox.

you divide layout 2 groups, each sqare of 4x4. on vertical screen, second group wrap , placed below. on horizontal screen, groups placed next each other (same in picture).

<div class="wrap">   <div class="group">     <div class="item pic">     <div class="item text">     <div class="item pic">     <div class="item text">   </div>   <div class="group">     <div class="item pic">     <div class="item text">     <div class="item pic">     <div class="item text">   </div> </div> 

then, on small screens make .group element 100vw , on larger screens 50vw.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -