Basic use
example.css
.page {
display: grid;
grid-template-columns: 16rem 1fr;
gap: 1.5rem;
}
CSS Grid divides a container into rows and columns so children can occupy tracks and areas with precise control.
.page {
display: grid;
grid-template-columns: 16rem 1fr;
gap: 1.5rem;
}.page {
display: grid;
grid-template-columns: 16rem 1fr;
gap: 1.5rem;
}.page {
display: grid;
grid-template-columns: 16rem 1fr;
gap: 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