Kevin Powell - CommunityKP-C
Kevin Powell - Community•2mo ago•
43 replies
soma-foreever

What tag should be used for grid children? <li/>?

Usually I just nest divs and spans like this:
<div class="display: grid">
  <span>1</span>
  <span>2</span>
</div>

but I was wondering if there's some more semantic and accessible way of doing this. I think <ol/> and <li/> would be a better approach.
Was this page helpful?