Class Name Correlation With Style Property


I’m wondering how does the class name affect the style itself? In my example, I’m using a heavily distributed class system to assign class=particular style.

I have a dedicated “Margin Bottom 32” class that applies a margin of 32px. When I apply it to divs – it works fine. But when it comes to texts and headings – the class has no affect.

Here is the interesting part: I created a second class with the same property and named it “Margin Bottom 322”. I applied it – it works. But when I change the name to “Margin Bottom 320” it stops working.

I saw this behaviour with multiple classes I use, and I believe it’s a bug. Maybe anyone has a way of solving it?