Как изменить родительский стиль, когда дочерний элемент получает фокус в CSS ⇐ Jquery
-
Anonymous
Как изменить родительский стиль, когда дочерний элемент получает фокус в CSS
I want to change parent style when a child element receives focus. Unfortunately, the following code does not work at all. Please help me how to do it?
#email { opacity: 0.3; } #exampleInputEmail1:focus < #email { background: #f90442; } Email address
Источник: https://stackoverflow.com/questions/402 ... cus-in-css
I want to change parent style when a child element receives focus. Unfortunately, the following code does not work at all. Please help me how to do it?
#email { opacity: 0.3; } #exampleInputEmail1:focus < #email { background: #f90442; } Email address
Источник: https://stackoverflow.com/questions/402 ... cus-in-css
Мобильная версия