Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

ozcoder

Member since Jun 24, 2020

Recent Blog Comments By ozcoder

  • Checking To See If An Element Has A CSS Pseudo-Class In JavaScript

    Posted on Jun 24, 2020 at 2:10 AM

    Unfortunately :hover is only true if you are currently hovering. This method will not detect if a HTML Element has a style defined with the pseudo class :hover when the mouse cursor is somewhere else. #username:hover { outline: 1px solid orange; } I haven't found a good way to do t... read more »