0

a{
    text-decoration: none;
    font-size: 18px;
}
.links{
    font-family: 'Krub', sans-serif;
    color: black;
    padding: 5px;
}
.links :hover{
    color: rgb(0, 64, 255);
}
<a href="" id="registLink" class="links">Register</a>
                
                <a href="" id="newPass" class="links">Forgot password?</a>

Почему при hover цвет не изменяется??

1 ответ 1

0

Уберите пробел перед :hover. Просто синтаксическая ошибка.

1
  • ого. А это влияет...
    – aquaprogit
    13 окт 2018 в 17:59

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.