先來看下之前的樣式(左邊和上邊都是有陰影的)
在style標簽中加上下面一段代碼看效果~~
<style scoped> input { outline-color: invert; outline-style: none; outline-width: 0px; border: none; border-style: none; text-shadow: none; -webkit-appearance: none; -webkit-user-select: text; outline-color: transparent; box-shadow: none; } </style>
醬紫就好啦~~~~是不是很神奇
PS:如果這篇文章對您有幫助,記得點個贊再走呦~