Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css gap

/** simulate gap for safari  **/
.box {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-top: -1rem;
}

.box > * {
  margin-left: 1rem;
  margin-top: 1rem;
}
 
PREVIOUS NEXT
Tagged: #css #gap
ADD COMMENT
Topic
Name
4+5 =