i have a button. i want it so that when user click on it, it should stay ative. but this code below doesnt stay active. i am trying to get a toggle effect but when user click on it it stay active any cant go back,
<button type='submit' id='button1' class='button' name='button_1'>button1</button>
#button1
{
color:white;
}
#button1:active
{
color:green;
}