Grid template areas
Pastebin
- Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
17 Replies
I don t know what is going wrong
well, you used pastebin instead of codepen or jsfiddle, so, that's something you did "wrong"
see this
so, this is the basic html structure:
you have the grid on
.members
and the grid-area on .pic
this won't work, because .pic
isn't in the grid set by .members
if you want to do this "the easy way", you can just have dummy elements
otherwise, you need a new grid area per elementthanks I didn t see the mistakes
its fine, it is very easy to miss this
but, if i were you, i would shove a div inside a list
I put un class on li
but he don t work
I d on t understand "dummy elements"
you can't have the same area name in multiple places your grid-template-area property is invalid
check the dev tools
I remove it on the .pic element
this is not valid
I change it https://codepen.io/alpha_66/pen/QWPRWMX
it can't be the same across multiple rows
I don t understand your last message I should have 7 column and 7 rows
each child has to have unique grid-name
item1 item2 item3 etc
ok
thanks guy he work
that is what i said
it's a lot easier to use empty elements to fill the gap, and then hide them on mobile