| 12345678910111213141516171819202122232425262728293031323334 | 
							- <!DOCTYPE html>
 
- <html lang="en">
 
- <head>
 
-     <meta charset="UTF-8">
 
-     <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
-     <title>Document</title>
 
-     <style>
 
-         .box{
 
-             width: 400px;
 
-             height: 400px;
 
-             border:2px solid black;
 
-             position: relative;
 
-         }
 
-         .box1{
 
-             position: absolute;
 
-             top: 50%;
 
-             left: 50%;
 
-             /* margin-top: -50px;
 
-             margin-left: -50px; */
 
-             width: 100px;
 
-             height: 100px;
 
-             background-color: red;
 
-             transform: translate(-50%,-50%);
 
-             /* transform: translateY(100px) translateX(100px); */
 
-             /* transform: translate(50%,50%); */
 
-         }
 
-     </style>
 
- </head>
 
- <body>
 
-     <div class="box">
 
-         <div class="box1"></div>
 
-     </div>
 
- </body>
 
- </html>
 
 
  |