HTML CSS examples for CSS Widget:Hover
Hover On SPAN
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .startButton:hover {<!--from w w w . j av a 2 s . c om--> color:Chartreuse; background-color:yellow; } .startButton span:hover { color:blue; background-color:pink; } </style> </head> <body> <a href="#arrow" class="startButton" style="background-color: #fff; color: #555;" id="brickButton"> <span id="theText">Lorem ipsum dolor s</span> </a> </body> </html>