Js hover event proxy problem

html structure:

<div class="box">
     <div class="item"></div>
     <div></div>
 </div>

js section:

$(".box").on("mouseover",".item",function () {
    $(this).stop().animate({"fontSize": "60px"}, 400);
});
$(".box").on("mouseout",".item",function () {
    $(this).stop().animate({"fontSize": "50px"}, 400);
});

problem: because the first div under box is dynamically loaded at the back end, only event proxies are used. Js"s hover events do not support event proxies, and if you want to use event proxies, you must use mouseover and mouseout instead. However, the actual execution result is that there is no response when the mouse is moved into < div class= "box" >, and the actual animation effect will be achieved only when the mouse is moved into < div class= "item" > < / div >. What"s the problem?

add: the ultimate goal is to move the mouse into the box,item font animation to take effect


$('.box').on('mouseover', function () {
    let _this = $(this).find(".item");
    if(_this.length > 0) _this.stop().animate({'fontSize': '60px'}, 400);
});
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35091-2bf65.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35091-2bf65.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?