Grid in css

Photo by Elsa Noblet on Unsplash

Grid in css

Grid is used to make the css layout more attractive than using flex .flex is also used to make the layout attractive but as it is not able to give design in the row and column simutaneously that is it gives one dimension design either in a row or in a column so grid comes into existence which provides the design in the css layout in two dimension that is it works for both row and column simutaneously as grid has container and grid items in it properties of grid container are as grid- template- row,grid-template-column and grid items properties are grid-row-start,grid-row-end,grid-column-start and grid-column-end.