我有列出了以下樣式:不同風格的某些元素,當包裹在另一個元素
li {
background: rgb(66, 66, 66);
color:white;}
ul {
background: rgb(66, 66, 66);
color:white;}
另外,我有一個ID not_important_name
一個div元素包含列表,爲此,我需要另一種風格要應用:
li {
background: rgb(144, 144, 144);
color:white;}
ul {
background: rgb(144, 144, 144);
color:white;}
我如何可以覆蓋第一組的風格,只爲not_important_name
元素中列出?