Вопрос CSS. Не работает цвет для hover. Менял display - на него реагирует. Но на цвет нет.

Регистрация
23 Дек 2013
Сообщения
68
Репутация
0
Спасибо
0
Монет
0
Подскажите что не так с кодом.

#access a {
color: #ffea00;
display: block;
font-size: 15px;
font-weight: bold;
line-height: 2em;
padding: 0.5em 1em;
text-decoration: none;
text-shadow: 2px 2px 0px black, 0 0 1em #0084ff;
div.textbox {
background: none repeat;
border: 4px groove #ffffff;
border-radius: 15px;
background-color: rbga(66, 66, 66, 0.75);
box-shadow: 0px 0px 0px #2e55ff, 0px 0px 15px #000000;
margin: 12px 8;
padding: 2px 8px;
position: relative;
}
}
#access a:hover {
color: #ff0000;
display: block;
background: #00c0ff;
-webkit-transition: background 0.2s linear;
-moz-transition: background 0.2s linear;
-o-transition: background 0.2s linear;
}
 
1. div .textbox вложен в #access a 2. неверный формат rbga есть rgba 3 .margin: 12px 8? 4. background: none repeat? по моему лишнее 5. свойство transition: background 0.2s linear чтоб работало на вход и выход лучше положить в #access a
 
Назад
Сверху