Div hover flashing?

 <div id="left">
                    <a href="http://www.baidu.com"  target="_blank"><img id="c_Img1" style="width:493px;height: 300px;border-radius: 5px;" src="./image/news1.jpg"/></a>
                    <a><img class="pdf" src="./image/PDF.png"></a>
                    <div id="moveUp1">
                        <a href=""><h2></h2></a>
                        <article class="mui-ellipsis">"" </article>
                    </div>
                </div>
                
                 $(document).ready(function(event){
            $("-sharpc_Img1").hover(function(event){
                console.log("h");
                event.stopPropagation();
                // $(".moveUp").style.cssText="position:absolute;top:100px;"
                // $("-sharpmoveUp").style.cssText="background-color:-sharpcccccc;"
                // $("-sharpmoveUp1").css("background-color","red");
                // $("-sharpmoveUp1").attr("top","100px");
                $("-sharpmoveUp1").css("display","block");
                $("-sharpmoveUp1").addClass("moveUp");
                $("-sharpmoveUp1").removeClass("mui-ellipsis");
                $("-sharpc_Img1").css("display","none");
                event.stopPropagation();
                event.preventDefault(); 
            },function(event){
                event.stopPropagation();
                event.preventDefault(); 
                $("-sharpmoveUp1").removeClass("moveUp");
                // $("-sharpmoveUp1").css("background-color","blue");
                $("-sharpmoveUp1").addClass("mui-ellipsis");
                $("-sharpc_Img1").css("display","block");
                $("-sharpmoveUp1").css("display","none");
                // $("-sharpc_Img1").css("display","none");
                // $("-sharpmoveUp1").addClass("moveOut");
                // $("-sharpmoveUp").css("top","1000px");
                // $("-sharpmoveUp").style.cssText="position:absolute;top:1000px;"
            });
        ,
            
Mar.20,2021

use: hover pseudo-class, do not use the jQuery hover method, Otherwise, delay processing jQuery-delayed processing of (hover) events by the mouse

is required.
Menu