It is necessary to change the color of the button after pressing it, but the problem is that when it is pressed, the browser updates the page. Button in the form of a check-box, clicked, noted.
.login-btn1 { cursor: pointer; background: #33b5e5; width: 50%; position: relative; right: 3px; border: 0; padding: 10px 15px; color: #ffffff; -webkit-transition: 0.3s ease; transition: 0.3s ease; } <button class="login-btn1" name="stack ">VK</button>
submit, and this is what updates the page. - Suvitruf ♦