I cannot seem to get tcss applied to my html, does anyone know what I am doing incorrectly please?
html
<div id="icon-image-{{item.id}}"><img class="icon" src="{{item.icon}}" height="75" width="75" /></div>
scss
img.icon { -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */ filter: grayscale(100%); }
It doesn’t matter what I try, I cannot seem to get the style applied to the html element.
In the above example I want to make the image grey, but even if I do something simple like the following, it doesn’t get applied either.
img.icon { background-color: red; }
Thanks