Quantcast
Channel: HTML & CSS
Viewing all articles
Browse latest Browse all 20

How to fix Hover css effect tremble/shaking?

$
0
0
I'm experiencing a shaking effect when hovering over buttons-links on my website. When I hover over the buttons, they shake instead of smoothly transitioning. Here's the CSS code
CSS:
header .buttons{
    margin: 7px 20px;
    transition: 0.5s;
}

header .buttons:hover{
    transform: scale(1.1);
}

header .buttons a{
    color: #ffffff;
    text-decoration: none;
    font-size: 32px;
    position: relative;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em...

Read more

Viewing all articles
Browse latest Browse all 20

Trending Articles