Style links on mouse over with CSS

CSSWeb DevelopmentFront End Technology

To style links on mouse over with CSS, use the CSS: hover selector. You can try to run the following code to implement the: hover, selector,


Live Demo

<!DOCTYPE html>
         a:hover {
            background-color: orange;
      <a href = "">Google</a>
      <p>Keep the mouse cursor on the above link and see the effect.</p>
Updated on 30-Jun-2020 11:11:46