Check out example codes for "tile format css". It will help you in understanding the concepts better.

Code Example 1

.app {  display: grid;  grid-column-gap: 15px;  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));}XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Learn ReactJs, React Native from akashmittal.com