I'm currently trying to get a buttons style working on Github. It works through a chrome extension, and I'm also not terribly sure how to go about debugging Chrome Extensions.
Here is what I'm working with:
.octicon-class {
background-image: url('chrome-extension://__MSG_@@extension_id__/');
-webkit-filter: grayscale(100%);
height: 16px;
width: 16px;
vertical-align: text-top;
}
I was considering using the !important
declaration on some of the attributes in this method, but I've seen that it is bad style. Is there a better way to get the button to appear (as opposed to just text)