@CaioCouto
Posted
Hello, there.
Even without knowing JavaScript, you got it to work. Nice job on your solution!
About you question, according to this answer on StackOverflow: "[...] you cannot apply different widths to different gaps. [...] You could use margins (or padding) to show extra space, but this doesn't actually change the width of the gap. It only expands the row."
On the other hand, you can set different gap
values to rows and columns individually. For example:
row-gap: 1rem
sets a1rem
gap between all the rows.column-gap: 1rem
sets a1rem
gap between all the columns.gap: 1rem 1rem //gap: row-gap column-gap
does the same as the other two, but in one line.
I hope this information was helpful in some extent. :)
Marked as helpful