From 7a5bc222fd916a7f12c418880899ddac9086b19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tjark=20M=C3=BCller?= Date: Thu, 4 May 2023 13:28:58 +0200 Subject: [PATCH] documented/ solved svg rotation bug --- lib/flippable.html | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/lib/flippable.html b/lib/flippable.html index add8b31..db361eb 100644 --- a/lib/flippable.html +++ b/lib/flippable.html @@ -17,19 +17,27 @@ - + + + - - - - - +
+ + + + + +
+ @@ -46,6 +54,10 @@ via a HTML template that defines the placeholders for front and back views. The style file "css/flipeffect.css" holds reasonable default styles for this kind of templates.

+

+The SVG buttons have to be wrapped in an HTML DOM element which handles events. Otherwise, +the viewbox of the SVG will interfere with the coordinate transformation. +


     <template id="flipTemplate">
         <div class="flipWrapper">