Implement CSS Grid


  1. Basic Concept

    • Container : direct of all the grid items ~~~Html
    
     CSS Properties:
    
       - display:
       ~~~CSS
         .container {
             display: grid | inline-grid;
         }
    
    • item : direct Children of Container
     <div class="container">
         <div class="item"> </div>
         <div class="item">
           <p class="sub-item"> </p>
         </div>
         <div class="item"> </div>
     </div>
    
    • Line : The dividing lines that make up the structure of the grid. They can be either vertical (“column grid lines”) or horizontal (“row grid lines”)

    • Track: Column or Row
    • Area: Multiple columns and Rows (Block)