Removing default outline
Hi all,
I don't want that default black outline on Chrome. I can use
outline: none;
, which removes it, but I hear that is bad practice; so what should be done?
Maybe this?
7 Replies
if you wanna remove it design the replacement so a11y peeps can still use your website
Umm, I'm not sure I understand, could you please clarify what you mean? 😅
you don't like the outline of focus state right?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
that's enough imo
Aha, I see what y'all mean now
Thanks a lot!
I'll also add that instead of
outline: none;
it is better to set the color to transparent
so it still has an effect on high contrast mode, which removes all of your colors.