Serg Posted April 13, 2019 Share Posted April 13, 2019 Добрый день! Применяю для кнопки : .myOKboton { background: lime; border-color: #CC33CC; color: blue; border-width: 1px; } Но как применить для кнопки в фокусе? Спасибо Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 13, 2019 Share Posted April 13, 2019 28 minutes ago, Serg said: Но как применить для кнопки в фокусе? Здравствуйте, Простите, можете уточнить вопрос? Quote Link to comment Share on other sites More sharing options...
Serg Posted April 13, 2019 Author Share Posted April 13, 2019 Мне необходимо изменить цвет фона UniButton при наведении и фокусе. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 13, 2019 Share Posted April 13, 2019 4 minutes ago, Serg said: Мне необходимо изменить цвет фона UniButton при наведении и фокусе. Попробуйте использовать псевдоклассы: hover и focus .myOKboton:hover { } .myOKboton:focus { } Quote Link to comment Share on other sites More sharing options...
Serg Posted April 13, 2019 Author Share Posted April 13, 2019 Спасибо! Quote Link to comment Share on other sites More sharing options...
Serg Posted April 13, 2019 Author Share Posted April 13, 2019 Не работает для .myOKboton:focus { background: white; border-color: #CC33CC; color: orange; border-width: 1px; } тема : classic Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 13, 2019 Share Posted April 13, 2019 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; } Quote Link to comment Share on other sites More sharing options...
Serg Posted April 13, 2019 Author Share Posted April 13, 2019 Большое спасибо! Quote Link to comment Share on other sites More sharing options...
Serg Posted April 13, 2019 Author Share Posted April 13, 2019 Большое спасибо! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.