Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css flex gap between items

/* limited support (Q1/2021: Firefox, Chrome, Safari) */
.flex-container
{
  display: flex;
  gap: 5px;
}

/* broad support */
.flex-item
{
  margin: 5px;
  /* and/or */
  padding: 5px;
}
 
PREVIOUS NEXT
Tagged: #css #flex #gap #items
ADD COMMENT
Topic
Name
9+7 =