Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

gap css flex

    /* elements in a row */
	.row-flex-container {
      display: flex;
      flex-direction: row;
      column-gap: 2rem;
    }

	/* elements in a column */
    .column-flex-container {
      display: flex;
      flex-direction: column;
      row-gap: 2rem;
    }
      
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #gap #css #flex
ADD COMMENT
Topic
Name
2+4 =