button hover color is not working

Alzira Barretto

#button {
    margin-top: 5%;
    position: relative;
    left: 15%;
}

#button a{
    color: #15b097;
}

#button a:hover{
    color: white;
}
<div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <a class="btn btn-default" href="#" role="button" id="button">Create Account</a>
    </div>
  </div>

This is the first time it happen to me the button hover is not changing. It never happen to me I don't know what went wrong. Maybe there is particular went wrong I don't know. Hope I'm not confused you as I'm already confused here keeping changing the class name and didn't work. Only alignment is working. I did background-color as well as color.

Murad Hasan

Your button is with the a tag, so don't need to use #button a.

Updated CSS:

#button {
    margin-top: 5%;
    position: relative;
    left: 15%;
    color: #15b097;
}

#button:hover{
    color: white;
}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

button hover color is not working

From Dev

Button hover Color Change

From Dev

Fill button with a different color on hover

From Dev

Change color of glyphicon on button hover

From Dev

Background button will not hover in different color

From Dev

wpf button hover gradient is not working

From Dev

CSS Button, default color, hover color and :active color change

From Dev

Fade background color of button on hover css

From Dev

How to change text color in button hover property

From Dev

CSS Hover Text Changing Color With Button

From Dev

Change hover color on a button with Bootstrap customization

From Dev

CSS - Change button background color on hover

From Dev

submit button stays hover color after clicked

From Dev

hover button background color remains on mobile

From Dev

change text and path to diffrent color on hover of button

From Dev

CSS - smooth button gradient color transition on hover

From Dev

Set button hover or onmouseover background color

From Dev

CSS mouse hover button color changes

From Dev

Change color of the button and i class on hover

From Dev

Skewed button not changing text color on hover properly

From Java

Slider hover effect with bottom color strip not working

From Dev

Color to grayscale on hover not working in IE11

From Dev

Implementing hover color change in CSS class not working

From Dev

Background-color change on hover event not working

From Dev

Bootstrap button color not working, but working in jsfiddle

From Dev

Polymer 1.0: How to make paper-button change color on hover?

From Dev

Change color of an asp.net button on mouse hover using css

From Dev

How to get rid of the default blue color on hover over a button?

From Dev

How Can I change the hover color of a button in Bootstrap 3?

Related Related

  1. 1

    button hover color is not working

  2. 2

    Button hover Color Change

  3. 3

    Fill button with a different color on hover

  4. 4

    Change color of glyphicon on button hover

  5. 5

    Background button will not hover in different color

  6. 6

    wpf button hover gradient is not working

  7. 7

    CSS Button, default color, hover color and :active color change

  8. 8

    Fade background color of button on hover css

  9. 9

    How to change text color in button hover property

  10. 10

    CSS Hover Text Changing Color With Button

  11. 11

    Change hover color on a button with Bootstrap customization

  12. 12

    CSS - Change button background color on hover

  13. 13

    submit button stays hover color after clicked

  14. 14

    hover button background color remains on mobile

  15. 15

    change text and path to diffrent color on hover of button

  16. 16

    CSS - smooth button gradient color transition on hover

  17. 17

    Set button hover or onmouseover background color

  18. 18

    CSS mouse hover button color changes

  19. 19

    Change color of the button and i class on hover

  20. 20

    Skewed button not changing text color on hover properly

  21. 21

    Slider hover effect with bottom color strip not working

  22. 22

    Color to grayscale on hover not working in IE11

  23. 23

    Implementing hover color change in CSS class not working

  24. 24

    Background-color change on hover event not working

  25. 25

    Bootstrap button color not working, but working in jsfiddle

  26. 26

    Polymer 1.0: How to make paper-button change color on hover?

  27. 27

    Change color of an asp.net button on mouse hover using css

  28. 28

    How to get rid of the default blue color on hover over a button?

  29. 29

    How Can I change the hover color of a button in Bootstrap 3?

HotTag

Archive