A
A
Arthur2019-01-25 19:16:50
css
Arthur, 2019-01-25 19:16:50

How to remove animation when hovering over buttons?

It is necessary to remove the animation, and leave the hover effects.
For clarity, I'm attaching a screenshot:
5c4663387e8ae909659346.jpeg
The page itself: tyk
js code: tyk
css code: tyk
I.e. when hovering over the gallery control buttons, they jump from bottom to top. How to turn it off?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rustam Bainazarov, 2019-01-25
@arturweb01

At you costs transition: .4son all tags a(global style). Remove the transition selector for this:

.highslide-controls a {

    transition: none; /* Вот это добавь */

    background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif");
    display: block;
    float: left;
    height: 30px;
    width: 30px;
    outline: none;
}

S
Samuello, 2019-01-25
@Samuello

Delete in css file:

.highslide-controls .highslide-move a:hover {
    background-position: -120px -30px;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question