You need to use !important in your CSS rule:
#email:hover { box-shadow: inset 0 0 4px rgba(192,192,192,0.4); border:1px solid #bbbbbb !important; }
How inline CSS always rewrites non !important rules.
But I recommend you not to use such large built-in styles and write them to a <style> block or better to an external file, as it makes it easier to rewrite your rules without !important :
#email { display:inline-block; margin-top:10px; width:180px; height:30px; border:1px solid #cccccc; border-radius:1px; padding-left:8; padding-right:8; } #email:hover { box-shadow: inset 0 0 4px rgba(192,192,192,0.4); border:1px solid #bbbbbb; }
source share