[問題] CSS一種看不懂的用法

看板Web_Design作者 (不想再留白)時間18年前 (2008/03/04 17:28), 編輯推噓2(202)
留言4則, 4人參與, 最新討論串1/1
<label class="iceOutLbl portlet-form-label" id="_ManageEvent_WAR_ems42_:EventForm:j_id11">Filter</label> 但他的.css裡只有 .iceOutTxt, .iceOutLbl { font-family: Arial, Helvetica, sans-serif; padding-left: 0px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; color: green; } .iceOutTxt-dis, .iceOutLbl-dis { color: #ABABAB; text-decoration: none; border-bottom: 1px dotted #CCCCCC; cursor: default; } 有兩個地方不明白 他的class="" 後面的portlet-form-label是標準的CSS用法嗎? 那又是甚麼意思? 還有.iceOutLbl-dis後面的-dis又是標準CSS嗎? 那又是甚麼意思呢? 謝謝大家 現在明白多一點 就是.iceOutTxt-dis整個是一個class的name 然後套用兩個class就是class="classA classB"吧 謝謝大家的回覆 -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 202.175.116.55

03/04 19:24, , 1F
正確用法阿,名稱本來就可以用-字元
03/04 19:24, 1F

03/05 00:02, , 2F
這個意思是說一次套用兩個 class,後面那串也是 class 名稱
03/05 00:02, 2F

03/05 00:03, , 3F
dis應該是disable的縮寫吧
03/05 00:03, 3F

03/05 10:14, , 4F
嗯嗯,原來是這樣,我再試試看
03/05 10:14, 4F
※ 編輯: maxi326 來自: 202.175.116.55 (03/05 10:17)
文章代碼(AID): #17pHPPJ7 (Web_Design)