Here is the situation:
I have one css class to set the background image(url) and another css class to set the gradient effect.
However, if I both the classes to one element. As both class use the attribute - [background-image] it will override one another.
.a{background-image:url('SOMEPICURL')
.b{background-image:linear-gradient(xxx);}
The limit is I cannot merge these two classes into one.
Say, I have an element:
<div class="a"></div>
The "div" is assigned a class - a. And we cannot modify the a and the element, except add another class, in this case I'm trying to add the class "b". Unfortunately, if I just simply add the "b" like this:
<div class="a b"></div>
The "b" will effect and override the "a" - the background image set by "a" will not display.
what I want to do is - by adding the class "b", the background and linear-gradient will work at the same time.
I cannot change the "a".