autoprefixer
autoprefixer copied to clipboard
[css-grid] Inheritance of grid-gap values from similar selectors
trafficstars
Grid gap values should be inherited from the rules with the same selector, but with modifiers placed in a different order.
An example:
.grid.one.two {
grid-gap: 20px;
/* other styles */
}
.grid.two.one {
/* grid gap should inherit from .grid.one.two */
}
The use case is quite small, but it would be cool if we can get this thing implemented! 🤠
You also might want to think about this
.mum.dad .grid.one.two {
grid-gap: 20px;
/* other styles */
}
.dad.mum .grid.two.one {
/* grid gap should inherit from .mum.dad .grid.one.two */
}