Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

add space between flex items

.flex-gap {
  display: inline-flex;
  flex-wrap: wrap;
}

.flex-gap > div {
  margin: 6px; /* HERE WE ADD THE SPACE */
}
Source by coryrylan.com #
 
PREVIOUS NEXT
Tagged: #add #space #flex #items
ADD COMMENT
Topic
Name
5+1 =