How to Override One CSS Class with Another

If you want to add a custom style to an object that already has its style defined by other css class, you may have to replace some styles.
Here's how to do it. Firstly, check which class overrides it.
Let's say your markup returns:
<div class="range-specific range"></div>
If your CSS is defined like that:
.range-specific { foo; }
.range { bar; }
... the range will win.
If you change it to:
.range-specific.range { foo; }
.range { bar; }
... the specific will win.
If you want to hack it even more, do this:
.range-specific.range-specific { foo; }
.range { bar; }
... and specific will surely win.
It's even better to do this:
.range { bar; }
.range-specific { foo; }
