Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

CSS Card Grid Display

.cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1em;
}
.cards .card {
  flex-basis: 15em;
  flex-grow: 1;
}
Source by web.dev #
 
PREVIOUS NEXT
Tagged: #CSS #Card #Grid #Display
ADD COMMENT
Topic
Name
5+3 =