HTML,CSS,JS知識點集

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