javascript – CSS transform-origin on SVG not working as expected

.c { fill: rebeccapurple; transition: 1s; fill-opacity: 0.7; stroke: #000000; stroke-width: 0.4px; transform: scale(0.7); } .c-zoom{ transform: scale(2); } .d:hover { fill-opacity: 1; } .map-container{ position: relative; } <html> <head> <title>test</title> <link rel=”stylesheet” href=”https://stackoverflow.com/questions/72280607/test2.css”> </head> <body> <div class=”map-container” id=”map”> <svg xmlns:mapsvg=”http://mapsvg.com” xmlns:dc=”http://purl.org/dc/elements/1.1/” xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:svg=”http://www.w3.org/2000/svg” xmlns=”http://www.w3.org/2000/svg” mapsvg:geoViewBox=”6.624486 47.092916 18.521301 35.490303″ width=”430″ height=”515″ id=”svg”> <g id=”italy” class=”c”> … Read more

fpdf2.5.2 : SVG support and borb

fpdf2 is a simple & fast PDF creation library for Python that I have been maintaining since mid-2020. In this article, I’m going to present some of the new features that landed since my last post on the subject. Hence, this will cover versions 2.5.0, 2.5.1 & 2 … fpdf2 is a simple & fast … Read more