onmouseover="this.className='bb'이래도 돼요.

567 단어 htmlcss
<html>
	<head>
		<style type="text/css">
			.aa {
				border:1px solid gray;
			}
			.bb {
				border:2px solid blue;
			}
		</style>
		<script type="text/javascript">
			
		</script>
	</head>
  <body>
	<div class="aa" onmouseover="this.className='bb'" onmouseout="this.className='aa'">a</div>
  </body>
</html>

좋은 웹페이지 즐겨찾기