Answer the question
In order to leave comments, you need to log in
Alternative to gap for webkit?
Is there any alternative to the "gap" rule for flex, which is not supported in webkit?
https://jsfiddle.net/zaLdmn46/1/
An alternative to bypass "margin", since one ":last-child {margin: 0px;}" is not enough if at different resolutions a different number of elements wrap to the next line.
Answer the question
In order to leave comments, you need to log in
There is a crutch. Well, although as a crutch, somewhere, perhaps, an elegant solution:
Let's say we need to set an indent of 50px.
.wrapper {
margin-top: -25px;
margin-bottom: -25px;
..
.child{
margin-top: 25px;
margin-bottom: 25px;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question