How to scroll when cursor is on the edge of div?

后端 未结 3 1924
陌清茗
陌清茗 2021-01-15 21:24

I have a div(menubar) that has a lot of links and these links are out of the view. I must make the div scroll to the right or left when the cursor is at the edge of the menu

3条回答
  •  醉梦人生
    2021-01-15 22:06

    Here Answer