Gunnar Bittersmann: SELF-Wiki: Animation

Beitrag lesen

problematische Seite

@@Bertie

Einstieg_in_SVG/SVG_mit_CSS_animieren

Das erste Beispiel ist leider nicht gut. Da wird width animiert, was man wegen Performanz nicht tun sollte, siehe [MDN].

Das sollte umgebaut werden auf die Animation von transform: scaleX() bzw. scale.

Man könnte generell in Erwägung ziehen, statt transform die CSS-Eigenschaften translate, rotate und scale zu verwenden, aber das soll hier kein Kritikpunkt sein.

Weiter unten sind zwei Rotationen hintereinander. Dient das didaktischen Zwecken? Warum sind die nicht zu einer zusammengefasst?

🖖 Live long and prosper

--
“In my home, the America I love, the America I've written about, that has been a beacon of hope and liberty for 250 years, is currently in the hands of a corrupt, incompetent and treasonous administration. Tonight, we ask all who believe in democracy and the best of our American spirit, to rise with us, raise your voices against authoritarianism, and let freedom reign.”
— Bruce Springsteen, Manchester 2025-05-14