25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>mjs</title>
- <script src="https://cdn.jsdelivr.net/npm/matter-js@0.17.1/build/matter.min.js"></script>
- <style>
- html, body {
- margin: 0;
- padding: 0;
- overflow: hidden;
- }
-
- body {
- height: 100vh;
- width: 100vw;
- }
-
- box {
- margin: 0px;
- padding: 0px;
- box-sizing: border-box;
- position: absolute;
- display: block;
- background-color: red;
- transform-origin: 20px 20px;
- }
-
- </style>
- </head>
- <body>
- <script src="01.js"></script>
- </body>
- </html>
|