web-front-end/placeholder-and-focus-on-web-front-end前端开发中的placeholder与focus细节复制标题在新窗口打开placeholder 与 focus是 前端开发中很容易被忽略的小地方。placeholder 这半篇讲它该怎么配色、Webkit 下为什么反而能被选中,以及怎么用伪元素把它禁掉;focus 这半篇从「浏览器的原生焦点样式为什么会被自己写的按钮样式弄丢」讲起,再介绍 :focus-visible 与它当年的 polyfill。WebWeb Front-EndFront-EndUser Interface(UI)UX(User Experience)Typography+6WebWeb Front-EndFront-EndUser Interface(UI)UX(User Experience)Typography2020年7月7日 · Chang Wei (昌维) <[email protected]> · zh-Hans-CN