Skip to content

Instantly share code, notes, and snippets.

@flowforfrank
Created September 24, 2020 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flowforfrank/e00769e926fe7085ef2f1aa8e02e522a to your computer and use it in GitHub Desktop.
Save flowforfrank/e00769e926fe7085ef2f1aa8e02e522a to your computer and use it in GitHub Desktop.
Setting the flex-basis property
.flex-items {
flex-basis: auto;
flex-basis: max-content; /* Only supported in Firefox as of writing */
flex-basis: min-content; /* Only supported in Firefox as of writing */
flex-basis: content; /* Only supported in Firefox as of writing */
flex-basis: 0;
flex-basis: 250px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment