Skip to content

Instantly share code, notes, and snippets.

@nezvinskyi
Created October 27, 2020 22:58
Show Gist options
  • Save nezvinskyi/cead92ea91b1281d00739c7a3d84b771 to your computer and use it in GitHub Desktop.
Save nezvinskyi/cead92ea91b1281d00739c7a3d84b771 to your computer and use it in GitHub Desktop.
flex-basis-calc.css
.element {
flex-basis: calc((100% - кол-во маржинов в строке * значение маржина) / кол-во элементов в строке);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment