I'm new to html/css/php, so it may be a dumb question, but I've searched the documentation of position: absolute and transform: rotate and I don't see any hint of why the "absoluteness" turns off rotation.
I'm trying to do this on https://wojtek.denisdev.pl and when I remove "position: absolute" part of "style", then the boar rotates. I've seen that people join both (like here: CSS "transform: rotate()" affecting overall design with "position: absolute" (not aligning properly)), but it doesn't work for me...