input { color: #122e29; border: 1px solid #005344; background-color: #73b9a2;}input:focus { color: #ed1941; border: 1px solid #2468a2; background-color: #afdfe4;}
css如下:
input:focus { outline-color: green;}
不借助JS你怎么判定选定和没选中呢?