Reputation: 771
#header {
width:100%;
height:200px;
}
#theme.theme1 .handle {
background:blue;
}
#header.noback {
background:none;
}
why doesn't the last declaration override here ?
Upvotes: 1
Views: 298
Reputation: 207901
This is due to CSS specificity. If you change the last rule to
#header.noback.handle{
background:none;
}
it works
Upvotes: 2