css
css copied to clipboard
Column gap and row gap
Description
There are grid-column-gap
and grid-row-gap
for grid layout. But currently, we only can use the general gap
property.
We often only need the gap for either column or row instead of both of them together.
We've missed gap-x
and gap-y
in the Gap documentation, but it always works.
🎉 Improved. https://docs.master.co/css/gap