Answer the question
In order to leave comments, you need to log in
How to return the original position of the figure after I remove the cursor from it?
Hello, here is the code https://jsfiddle.net/bulllls/c4m39ydf/14/ , please tell me how to return the original view of the shape after I remove the cursor from it. Now, when you hover over the shape, the shape transforms and remains in the same position.
Answer the question
In order to leave comments, you need to log in
Redirect 301 /component/users/?view=login mysite.ru
described here:
web-optimizator.com/301-redirekt-htaccess
This is how you should write :
RewriteCond %{REQUEST_URI} /component/users [NC]
RewriteCond %{QUERY_STRING} view=login [NC]
RewriteRule .* https://yoursite.ru/? [R=301,L]
$('.block').on('mouseout', function(e) {
e.target.style.transform = '';
});
On the mouseout event, hang a return to the original position.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question