腳本化css

一.獲取屬性 < div style= "width: 100px; height: 100px; background-color:red;" ></ div > < script type= "text/javascript" > var div= document. getElementsByTagName( "div")[ 0]; < / script > 但是這樣只能讀和寫行間樣式表,如
相關文章
相關標籤/搜索