V
V
Vkok2018-03-07 15:22:22
css
Vkok, 2018-03-07 15:22:22

Why are the buttons twitching on hover?

the page needs to be scrolled a little down kodirovanie-alkogolizma.ru

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
coderisimo, 2018-03-07
@boch112

.btn:hover {
font-weight: bold;
border: 0 !important;
font-size: 14px !important;
padding: 8px !important; // !!!this should be removed!!!
}
main.css : 453

D
Dmitry, 2018-03-07
@demon416nds

hover is written crookedly
on hover changes the size down
while hover naturally flies
well and in a circle
it is much more reasonable if you really need to reduce the size
to reduce the contents of the block without changing the block itself

A
Alexey Orlov, 2018-03-07
@Hardjuice

Because :hover reduces padding.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question