Skip to content

Commit 7f603d6

Browse files
committed
add tranform
1 parent b4bc790 commit 7f603d6

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

content/grafik/cssgrafik.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,18 @@ praktisches Tool zum [Visualisieren und Editieren des Pfads](https://svg-path-vi
181181
</css>
182182

183183

184+
## Transform
185+
186+
Achtung, Verwechslungsgefahr: `transition` macht die Animation, hat also eine
187+
Zeitkomponente. Die transform-Properties verändert die Darstellung einer DOM-Node, haben keine Zeitkomponente:
188+
189+
190+
* MDN: [scale](https://developer.mozilla.org/de/docs/Web/CSS/transform-function/scale)
191+
* MDN: [rotate](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/rotate)
192+
* MDN: [translate](https://developer.mozilla.org/en-US/docs/Web/CSS/translate)
193+
* MDN: [transform](https://developer.mozilla.org/en-US/docs/Web/CSS/transform) - alles in einem
194+
195+
184196
## Perspektive
185197

186198
Mit Transforms kann man ein bisschen 3d in HTML und CSS bringen:
@@ -198,4 +210,9 @@ für ihr Problem wählen. Bei Grafik kann das ganz oft einfaches HTML + CSS sein
198210

199211
## Siehe auch
200212

201-
* [Animation mit CSS](https://tobiasahlin.com/moving-letters/ ) von Tobias Ahlin
213+
* MDN: [scale](https://developer.mozilla.org/de/docs/Web/CSS/transform-function/scale)
214+
* MDN: [rotate](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/rotate)
215+
* MDN: [translate](https://developer.mozilla.org/en-US/docs/Web/CSS/translate)
216+
* MDN: [transform](https://developer.mozilla.org/en-US/docs/Web/CSS/transform)
217+
* [SVG Path Visualizer](https://svg-path-visualizer.netlify.app/#M20%2C20%20C20%2C100%20200%2C0%20200%2C100)
218+
* [Text Animation mit CSS+JS](https://tobiasahlin.com/moving-letters/) von Tobias Ahlin

0 commit comments

Comments
 (0)