Why doesn't my focus style show when I click the button with a mouse?
Focus styles usually appear when the element receives keyboard focus (like tabbing). Clicking with a mouse may not trigger focus styles depending on browser and element.
💡 Try using keyboard Tab key to see focus styles clearly (see render_step 2).
Why did my focus outline disappear after adding focus:outline-none?
The focus:outline-none removes the browser's default outline, so no visible border appears on focus unless you add a custom style.
💡 Always add a visible focus style if you remove the outline for accessibility.
Why is my focus style not applying even though I added focus:bg-blue-700?
The focus variant only applies when the element is actually focused. If the element is disabled or not focusable, the style won't show.
💡 Make sure the element can receive focus (e.g., buttons, inputs) and test with keyboard navigation.