<!DOCTYPE html> <html> <head> <script src="../resources/common.js"></script> <style> input[type=checkbox] { box-shadow: inset 5px 5px 5px rgba(0,255,0,1.0); } </style> </head> <body> <label id="label"><input id="checkbox" type="checkbox" /> Test</label> <script> hoverOverElement(document.getElementById("checkbox")); </script> </body> </html>