mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 21:21:19 +10:00
Highlight label text when checked
This commit is contained in:
parent
ed9b84cdec
commit
73e9a28357
1 changed files with 3 additions and 2 deletions
|
|
@ -22,9 +22,10 @@
|
|||
display: inline;
|
||||
}
|
||||
|
||||
/* Hightlight the text on hover and focus */
|
||||
/* Hightlight the text on checked, hover and focus */
|
||||
&:focus + label .text,
|
||||
&:hover + label .text {
|
||||
&:hover + label .text,
|
||||
&:checked + label .text {
|
||||
color: var(--matterColorDark);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue