HTML新手求解。關于CSS對于li標簽的active狀態的背景顏色_html/css_WEB-ITnose
來源:懂視網
責編:小采
時間:2020-11-27 16:16:20
HTML新手求解。關于CSS對于li標簽的active狀態的背景顏色_html/css_WEB-ITnose
HTML新手求解。關于CSS對于li標簽的active狀態的背景顏色_html/css_WEB-ITnose:譬如對于 AAA BBB CCC DDD EEE FFF 我在自己創建的樣式表 .test li { color:#000000; float: none; width: 200px; background: #f9f2f4; margin-bottom: 3px; line-height: 80px;
導讀HTML新手求解。關于CSS對于li標簽的active狀態的背景顏色_html/css_WEB-ITnose:譬如對于 AAA BBB CCC DDD EEE FFF 我在自己創建的樣式表 .test li { color:#000000; float: none; width: 200px; background: #f9f2f4; margin-bottom: 3px; line-height: 80px;

譬如對于
AAA BBB CCC DDD EEE FFF 我在自己創建的樣式表
.test li {
color:#000000;
float: none;
width: 200px;
background: #f9f2f4;
margin-bottom: 3px;
line-height: 80px;
}
問題:怎么樣設定li標簽在
這種情況下背景顏色變成另外的。
譬如用bootstrap的樣式表的時候,在給定的
HTML新手求解。關于CSS對于li標簽的active狀態的背景顏色_html/css_WEB-ITnose
HTML新手求解。關于CSS對于li標簽的active狀態的背景顏色_html/css_WEB-ITnose:譬如對于 AAA BBB CCC DDD EEE FFF 我在自己創建的樣式表 .test li { color:#000000; float: none; width: 200px; background: #f9f2f4; margin-bottom: 3px; line-height: 80px;