html 屏蔽蓝色电话,html – 在Chrome扩展程序中停用文字字段蓝色突出显示?
是;只需將’none’分配給’outline’屬性:
input {
outline: none;
}
請考慮大綱是一個(gè)UI功能,以突出顯示當(dāng)前活動(dòng)/聚焦的表單元素,并刪除該視覺提示可能會(huì)阻礙某些用戶.
在以下評(píng)論中回應(yīng)了Beakr,OP的評(píng)論左側(cè):
I was intending to disable it/modify it to see what it could do.
要調(diào)整輪廓的樣式,您可以訪問各個(gè)屬性:
elementSelector:focus {
outline-width: 4px; /* thin, medium, thick or standard CSS length units */
outline-style: auto; /* or 'inherit', 'none' or border-style (solid, dashed, dotted...) */
outline-color: #f90; /* standard CSS colors */
}
以上也可以使用速記符號(hào)濃縮:
elementSelector:focus {
outline: 4px auto #f90;
}
可以使用的最小可能輪廓測量是:
elementSelector:focus {
outline-width: thin; /* or 1px */
}
總結(jié)
以上是生活随笔為你收集整理的html 屏蔽蓝色电话,html – 在Chrome扩展程序中停用文字字段蓝色突出显示?的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: html灵活响应 图片设置,jQuery
- 下一篇: 微信小程序 html css xml,微