Skip to content
This repository was archived by the owner on Feb 27, 2026. It is now read-only.

Commit a7c9bb4

Browse files
Enhance matrix function documentation
Updated the matrix function documentation with improved formatting and added a new tag for 'Animation'.
1 parent 74c3966 commit a7c9bb4

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

  • content/css/concepts/transform-functions/terms/matrix

content/css/concepts/transform-functions/terms/matrix/matrix.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Subjects:
55
- 'Web Design'
66
- 'Web Development'
77
Tags:
8-
- 'Elements'
8+
- 'Animation'
99
- 'Functions'
1010
- 'Positioning'
1111
- 'Values'
@@ -14,14 +14,22 @@ CatalogContent:
1414
- 'paths/front-end-engineer-career-path'
1515
---
1616

17-
The CSS `matrix()` function uses a 2D matrix to scale, rotate, skew, and move an element. This combined setup puts multiple changes into one step and is commonly used in detailed animations(https://www.codecademy.com/resources/docs/css/animations), exact placement, or creative web layouts.
17+
The CSS **`matrix()`** function uses a 2D matrix to scale, rotate, skew, and move an element. This combined setup puts multiple changes into one step and is commonly used in detailed [animations](https://www.codecademy.com/resources/docs/css/animations), exact placement, or creative web layouts.
1818

1919
## Syntax
2020

2121
```pseudo
2222
transform: matrix(a, b, c, d, e, f);
2323
```
2424

25+
Corresponds to the matrix:
26+
27+
```plaintext
28+
| a c e |
29+
| b d f |
30+
| 0 0 1 |
31+
```
32+
2533
**Parameters:**
2634

2735
- `a`: Controls horizontal scaling. A value of `1` results in no horizontal scaling.

0 commit comments

Comments
 (0)