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

前端 未结 6 1384
野性不改
野性不改 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:56

    add class to the input : html :

    
    

    css:

    .border { border: 1px solid #ffffd; /*you can write your hex code for color replacing #ffffd*/}
    

提交回复
热议问题