Basic use
example.css
.grid {
display: grid;
gap: 1rem 1.5rem;
}
Gap properties set spacing between tracks or flex items. Newer gap decorations can style separators.
.grid {
display: grid;
gap: 1rem 1.5rem;
}.grid {
display: grid;
gap: 1rem 1.5rem;
}.grid {
display: grid;
gap: 1rem 1.5rem;
}Keep learning CSS.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful