How do I change an inputs border colour without changing the style?

前端 未结 6 1382
野性不改
野性不改 2021-01-18 12:42

I\'m trying to do something pretty simply; change the border colour of an input. In both IE11 and latest stable Chrome, changing the color also changes how it looks (appears

6条回答
  •  死守一世寂寞
    2021-01-18 12:55

    This is the simplest way I can find of fixing the problem. Unfortunately, it involves changing the height CSS. Crazy, I know, just for a border color change!

    
    
    

    http://jsfiddle.net/S2TxT/10/

提交回复
热议问题