RSSAll Entries Tagged With: "background color"

Change color on mouse hover in Microsoft Expression Web

Change color on mouse hover in Microsoft Expression Web

To change the background color and font color of a div on mouse hover, use this CSS code. <style type=”text/css” > .title_div{                 background-color:black;                 color:white; } .title_div:hover{                                 background-color:green;                                 color:black; } </style> <body>         <div class=” title_div”>                         On mouse over div becomes green and text turns black.         </div> </body> [...]