-
-
Save AndreiRadchenko/4835a57e72cd45e023e4788fb50778bd to your computer and use it in GitHub Desktop.
Формула расчёта ширины flex-элемента в сетке
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.element { | |
flex-basis: calc((100% - кол-во маржинов в строке * значение маржина) / кол-во элементов в строке); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment