I created an HTML file that includes a SVG element along with some CSS styles imported correctly, such as:
rect.cell-border {
stroke: #000;
stroke-width:1.3px;
}
Within the SVG, there is an element structured like this:
<rect class="cell cell-border" width="256" height="256" style="fill-opacity: 0.5;"></rect>
The issue I am facing is that despite the inline CSS properties, the rect element does not seem to inherit the styles defined by cell-border. It's puzzling because the CSS file works fine for other elements (non-SVG) in the document. These SVG elements are generated using D3.