Jump to content

UniButton


Serg

Recommended Posts

Добрый день!

Применяю для кнопки

.myOKboton {
    background: lime;
    border-color: #CC33CC;
    color: blue;
    border-width: 1px;
}

 

 

Но как применить для кнопки в фокусе?

 

Спасибо

Link to comment
Share on other sites

4 minutes ago, Serg said:

Мне необходимо изменить цвет фона UniButton при наведении и фокусе.

Попробуйте использовать псевдоклассы: hover и focus

.myOKboton:hover {
}

.myOKboton:focus {
}

 

Link to comment
Share on other sites

1 hour ago, Serg said:

Не работает для 

.myOKboton:focus {
background: white;
    border-color: #CC33CC;
    color: orange;
    border-width: 1px;
}

.myOKboton.x-btn:focus {
    background: white;
    border-color: #CC33CC;
    color: orange;
    border-width: 1px;
}

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...