Supa
New Coder
I have some CSS code for a list of buttons. I want the buttons changed colors from the focus to last forever until another button is in :focus.For example:
```css
.buttons {
background-color:red
}
.buttons:focus {
background-colorrange
}
```
However, when I press away from the button, the :focus styles go away. I understand this is normal behavior, but is there a way to change it so that the button is :focus until another button is :focus? Or is that impossible without JS?
```css
.buttons {
background-color:red
}
.buttons:focus {
background-colorrange
}
```
However, when I press away from the button, the :focus styles go away. I understand this is normal behavior, but is there a way to change it so that the button is :focus until another button is :focus? Or is that impossible without JS?