JSFiddle - React, Tailwind, and code Playground

HTML

<div id="holder">
    <div id="dot"></div>  
  <div id="box"></div>
</div>

CSS

#holder {
    position: absolute;
    width: 500px;
    height: 500px;
    background: #226699;
    
}

#dot {
  position: absolute;
  left: 100px;
  top: 100px;
  width: 5px;
  height: 5px;
  background: #ff0000;
  z-index: 20;  
}

#box {
   position: absolute;
   left: 100px;
   top: 100px;
   width: 100px;
   height: 100px; 
   background: #000; 
   -moz-transform: translate(-25px, -25px) scale(0.2,0.2) 
   transform-origin: 50% 50% 0;      
   -moz-transform: translate(-25px, -25px) scale(0.2,0.2) ;
   -moz-transform-origin: 50% 50% 0;     
}