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