Changing the background colour of an active input selector

前端 未结 2 1654
时光取名叫无心
时光取名叫无心 2021-01-19 17:42

Any reason why when I run this code,

input[type=submit]:active {
  background-color: green;
}

when I click the desired button it only flash

2条回答
提交回复
热议问题