Tool Hub

फोकस रिंग परीक्षक

Outline · box-shadow फोकस शैली पूर्वावलोकन

CSS सेलेक्टर

केवल कीबोर्ड (अनुशंसित)

नीचे दिए गए कंट्रोल पर क्लिक करें या फोकस रिंग देखने के लिए Tab दबाएँ।

CSS
:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

कैसे उपयोग करें

  1. Adjust outline width, offset, and color using the numeric inputs and color picker.
  2. Choose outline style: solid, dashed, or dotted.
  3. Optionally enable box-shadow and set its spread and color for a dual-ring effect.
  4. Tab into the preview button or input to see the focus ring rendered live.
  5. Copy the generated CSS to use in your own stylesheet.

उदाहरण

  • Setting width 3px, offset 2px, color #0066FF, style solid produces outline: 3px solid #0066FF; outline-offset: 2px; visible on the preview button when focused.
  • Enabling box-shadow with spread 4px and color rgba(0,102,255,0.4) adds a soft glow ring around the outline.

उत्पादन में उपयोग से पहले आउटपुट सत्यापित करें। कोई वारंटी नहीं — देखें शर्तें.