Guys, this situation, I insert svg through object, but the styles are not set (I mean fill - fill), here's the html code:
<object data="img/Icon/interface.svg" type="image/svg+xml" class="icon"></object> Here is the picture code:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 253 248"> <path d="M227.699 1.199H25.301c-13.234 0-24 10.766-24 24v197.602c0 13.23 10.766 24 24 24h202.398c13.235 0 24-10.77 24-24V25.199c0-13.234-10.765-24-24-24zm0 24l.008 104.98-40.543-38.078c-2.836-2.66-6.468-4.125-10.226-4.125-4.571 0-8.848 2.145-11.739 5.883l-47.73 61.805c-1.547 2.004-4.027 3.199-6.637 3.199-1.781 0-3.461-.539-4.863-1.566l-31.016-22.653c-3.09-2.254-7.093-3.5-11.269-3.5-4.758 0-9.203 1.551-12.52 4.367l-25.863 21.934V25.199h202.398zm0 0"/><path d="M93.301 96.398c13.676 0 24.801-11.125 24.801-24.801 0-13.671-11.125-24.796-24.801-24.796-13.676 0-24.801 11.125-24.801 24.796 0 13.676 11.125 24.801 24.801 24.801zm0 0"/></svg> What am I doing wrong? please tell me the best way to stylize
fill? maybe this article will help? - olegatro