If there is a string of text inside the element that has display: grid it will become a grid item, this anonymous item will participate in the grid layout but otherwise canβt be styled and will use the CSS of the parent.
I demonstrate in this video from my video tutorial series.
What is this?
Iβm sharing some tips to help you learn Grid Layout from the 1st of December until Christmas. Edited highlights from the things on this site and that Iβve posted elsewhere. Follow along!
If you find this style of learning useful then you might enjoy my online CSS Layout Workshop. Iβm also available for in-house training, workshops and consultancy or conference speaking.