I'm trying to style react-d3-map's marker image. There is no way to change its image (except for the change of library's code), so i'm trying to hide it and use :before pseudo element.
 <image class="icon-map-marker marker"
        xmlns:xlink="http://www.w3.org/1999/xlink"
        xlink:href="data:image/png;base64,[...]==" <!-- hardcoded in library -->
        x="141.98888888888882" y="163.8247013673872"
        height="25" width="25"
 </image>
but all the css definitions in chrome's developer's console are grayed out and of course not working - similar in FF
[class*="icon-"]:before {
  content: "0";
  min-width: 1em;
  text-align: left;
  display: inline-block;
  font-size: 18px;
}
.icon-map-marker:before {
    content: "\107F";
}
This CSS works great for HTML element. Is it all possible to create pseudo element for SVG node? Maybe some other way to change this image?
Update: I don't want to set :before on SVG element. But on image node inside SVG hierarchy.
 
     
    