在使用 tailwindcss 时,用 focus:outline-none 这个class 实现隐藏 focus 状态时的边框,适用于 inpu button 等。昨天手动撸了一个系统,登录表单使用了这个样式,但是没有生效,input 处于focus 状态时还是会有边框,今天去 tailwindcss 官方仓库的 issue 看了一下,这个问题 19 年就有人提出来了,但是如今还是存在。
Laravel 8、Inertia、Breeze和Tailwind现在也有同样的问题:当我在一个元素上设置outline-none时,它被忽略...
Vite+TailwindCSS::focus不工作 、、 我正在使用vite和顺风创建一个react应用程序。 我想使用:focus,但它不起作用。代码如下: Connex 浏览43提问于2021-10-16得票数0 回答已采纳 1回答 Vite在运行build命令时无法找到映像 、 我现在有一个使用Vite的
form>Sign up Not all state variants are enabled for all utilities by default due to file-size considerations, but we’ve tried our best to enable the most commonly used combinations out of the box. For a complete list of which variants are enabled by default, see thereference tableat the ...
Tailwind Play Link titleLink description Readme Keywords Provenance Failed to load provenance
Describe the bug The dropdown does not show a shadow when focused. Reproducer https://codesandbox.io/p/sandbox/frosty-hoover-ttd938 PrimeReact version 10.2.1 React version 18.x Language TypeScript Build / Runtime Vite Browser(s) No respo...
“做好眼前的事,才能创造出最有希望的生活和最具有价值的的人生。所有的一切都只发生于当下,过好每...
您应该在config中启用focus变体中的border类:
export function IoRemoveCircleOutline() { return ( <svg fill="currentColor" stroke-width="0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" height="1em" width="1em" style="overflow: visible; color: currentcolor;" > <path fill="none" stroke="currentColor" stroke-miterlimi...
Save changesTailwind also includes variants for other interactive states like :visited, :focus-within, :focus-visible, and more.See the pseudo-class reference for a complete list of available pseudo-class variants.:first, :last, :odd, and :evenStyle an element when it is the first...