FrontEnd/JAVASCRIPT
[JAVASCIPT] 이벤트 박스 클릭해서 옮기기
developekkyu37
2022. 12. 22. 12:44
728x90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>이벤트 박스</title>
<script src="./JS/EVENT_05.js"></script>
<style>
body{
margin : 0px;
}
#container {
width: 1500px;
height: 1500px;
border: 0px solid gray;
}
#box{
width: 100px;
height: 100px;
border: 1px solid blue;
background-color: blue;
}
</style>
</head>
<body>
<section id="section1">
<div id="container">
<div id="box"></div>
</div>
</section>
</body>
</html>
--
728x90