TL;DR —
There are two main ways to use this amazing tool in your page, those are: grid template columns & rows or grid areas combined with media queries. The trick is to create your initial layout using the grid template. Using the repeat function to create a variable number of columns, for this we won’t assign a specific number to the function, we’ll let the auto-fill or auto-fit properties handle that part of the grid. In this example I want my columns to have a. least 250 px width of the. width of my. page but also want them to have. up the remaining remaining width of remaining width. If you notice when you shrink the page.
[story continues]
Written by
@julian-blasco
Technical Writer on HackerNoon.
Topics and
tags
tags
frontend|css-grids|css3|web-development|html|learning-html|microverse|responsive-design
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: MZ_rRkeNn9dzmlTIM3qEeRxSgTGN1r3FBcybr_RDdOg
