A
A
Andrej Sharapov2019-08-07 14:21:23
Vue.js
Andrej Sharapov, 2019-08-07 14:21:23

How to attach mousemove to navigation?

I made a small navbar on vue, it works.

But there was a need to fasten the mouse effect. Mouse parallax type. I don’t know how it’s called correctly, but the essence is this: The menu is fixed and limited by the screen size (in the example, the width is 90vw). Links do not fit on the screen. When you move the mouse over the navigation area, for example, to the left, the links move smoothly to the side.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-08-07
@Madeas

https://jsfiddle.net/sjw506rc/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question