I have an unordered list like this:
list1 Sub list1<
You can use the > operator for that, like this:
.list > ul > li{ background:#ccc; }