CSS: Hover a HTML submit button -


i'm trying style html submit button in css:

html:

<input type="submit" value="yes" id="popupyes">" 

css:

#popupyes {   width: 60px;   height: 30px;   background-color: black; } #popupyes:hover {   background-color: white; } 

the basic style works background not change color on hover.

your original code works me. sure don't have other conflicting styles inherited submit button.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -