0
<button id="btn-info" type="button"></button>
When I put the selector with the properties in external css it does not work but if you put it directly into the html Style it’s all right.
#btn-info{
display: block!important;
background-image: url(icons/categorias/informatica/headset.svg);
width: 100px;
height: 100px;
border: solid 1px #ccc;
border-radius: 50%
}
When I go to source from the browser developer menu, I see that my css snippet has been ignored, but if I paste the same CSS snippet there works hesitantly.
How I can modify properties from my CSS file ?
Place
!important
in front, just like you did withdisplay
.. I say that because I can’t see the print, I can’t access the URL.– NoobSaibot
Thanks for the help the problem is the browser. thanks, I just restarted the pc and ready OBG
– ruan vioto maran
If it works in
style
and not in the CSS general rule has to do with overlaying styles, and resolves by correcting the application order, changing the selectors or placing!important
. As an aside do not write text in high box, we can all read well.– Isac
face is always good when vc do a very heavy update on your codes clear the browser data... depending it is good to delete the whole date from the browser as it can be cached
– Willian