3 ms·
I still think this is a bad idea, because it leads to parent:child combinatorial explosion. Instead, try to avoid the need to define styles that way. Learn to
by eurasiantiger 4y ago
I still think this is a bad idea, because it leads to parent:child combinatorial explosion.
Instead, try to avoid the need to define styles that way. Learn to rely on the cascade. Pick an authoring style for sizing, margins and paddings and stick to it. I tend to prefer h-margin and v-padding on containers and v-margins and h-padding on content.