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=””> </head> <body> <div class=”map-container” id=”map”> <svg xmlns:mapsvg=”” xmlns:dc=”” xmlns:rdf=”” xmlns:svg=”” xmlns=”” 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