I have a div inside a div. The .wrapper
is parent of .level
.
<div class="wrapper">
<div class="level">
Engkus Kusnadi
</div>
</div>
When i gave style to the .level
with .wrapper
include as selector, its working fine and the background changed to green.
.wrapper .level {
background:green;
}
But the problem found, when I'm add a style the only .level
selector background to red, its nothing happen.
.wrapper .level {
background:green;
}
.level {
background:red;
}
Here's my fiddle https://jsfiddle.net/vcb4eqy4/
What I'm wrong? Is there higher level on CSS Selector?