HTML,CSS,JS知識點集

一、.box{ width:200px;height:200px;background:red;}javascript onmouseover="document.getElementById('div1').className='box';"  //不能用class,要用className     這行代碼表示鼠標移入id='div1'的class='box'css   二、onclick="a
相關文章
相關標籤/搜索