JSFiddle - React, Tailwind, and code Playground

HTML

<div class="menutop">
  <div class="menu">
    <ul class="top-menu" id="top-menu">
      <li></li>
      <li></li>
      <li></li>
      <li id="cms-page-25">hover</li>
      <li></li>
    </ul>
  </div>
</div>
<div id="drop01"></div>

CSS

#drop01 {width: 200px; height: 200px; background: blue;}
#drop01.show {background: red;}

JavaScript

let menuItem = document.getElementById('cms-page-25');
let box = document.getElementById('drop01');

menuItem.addEventListener('mouseover', e => {
  box.classList.add('show');
});

menuItem.addEventListener('mouseout', e => {
  box.classList.remove('show');
});