css - Color of button(bootstrap button) not changing in netbeans? -
This is a notification button's CSS (from bootstrap) and its styling css file contains resources in Netbeans I am using Maven / Web application with Java Server. Works on frame:
.btn-info {background-color: # d60d8c; Border color: # d60d8c; } This is a JSF page button code:
& lt; Button type = "button" class = "btn-btn-info navbar-btn navbar-right" id = "logg" & gt; & Lt; a href = "logga.html" & gt; Sign in & lt; / A & gt; & Lt; / Button & gt; The button code is in a bootstrap navbar. The border of the button is using border color: # d60d8c; , but the background color of the button does not change according to the background-color: # d60d8c; . Why is that so? Am I doing something wrong here?
(assuming CSS is properly loaded)
your CSS selector only Class-specific, perhaps there are more specialized CSS selectors in your project, but match the buttons. (You can see, Chrome Developer Tools (F12), which selector "win" for Tabs Elements-computed tariff.
Comments
Post a Comment