Skip to content

pantoken / formats/components/src / focusOutlineRules

פונקציה: focusOutlineRules()

focusOutlineRules(selector?): string

בטא

כללי טבעת-הפוקוס עבור בורר שניתן למיקוד: טבעת מנוחה שקופה שמופיעה במעבר ב על :focus-visible, בנוסף למודיפיירים -focus-color-* / -focus-position-inset / -focus-within / -without-focus-animation. הכל עטוף ב־:where(), ולכן בעל ספציפיות אפס.

פרמטרים

selector?

string

בורר שניתן למיקוד שעליו חלה טבעת הבסיס (ברירת מחדל FOCUSABLE_SELECTOR).

מחזיר

string

מחרוזת חוקי CSS.