a:active only briefly works (during mouse click)

后端 未结 4 2107
-上瘾入骨i
-上瘾入骨i 2021-01-22 07:19

For some reason, I made it so my text (a) that is active is bolded, but it is only active when it is clicked with my mouse, when it is released from the click, it turns off and

4条回答
  •  無奈伤痛
    2021-01-22 07:49

    I know it's old topic but simple solution for it is to replace a.active instead of a:active , it did the trick for me so it should do for you aswell

提交回复
热议问题