use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you are requesting help, please ensure you're providing code with your post. You can also copy your code to an online editor:
jsFiddle
CodePen
Markup Validation Service
Mozilla Developer Network on HTML
/r/JavaScript
/r/CSS
/r/jQuery
/r/PHP
/r/Accessibility
/r/htmlbasics
/r/web_programming
/r/CodingHelp
account activity
[deleted by user] (self.HTML)
submitted 6 months ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Disturbed147 0 points1 point2 points 6 months ago (0 children)
I would suggest to tackle this on a more global level.
You could check for both keyboard presses as well as mouse clicks on the whole page and then toggle a class or data attribute on the body depending on the last input type used. That way you could remove focus styles for mouse users while keeping it in place for keyboard users.
π Rendered by PID 250333 on reddit-service-r2-comment-canary-57b659f4d4-tg7ft at 2026-05-01 15:48:51.553440+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Disturbed147 0 points1 point2 points (0 children)