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

Commit 41e721a

Browse files
Updated example headings in CSS matrix() documentation
1 parent c0fa740 commit 41e721a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ transform: matrix(a, b, c, d, e, f);
3131
- `e`: Controls horizontal translation in pixels. A value of `0` results in no horizontal movement.
3232
- `f`: Controls vertical translation in pixels. A value of `0` results in no vertical movement.
3333

34-
## Example 1: Basic Translation in CSS Using `matrix()`
34+
## Example 1
3535

3636
In this example, the `.box` element is moved `100px` to the right and `100px` down using CSS `matrix()`, demonstrating how the `e` and `f` parameters control horizontal and vertical translation:
3737

@@ -49,7 +49,7 @@ Here is the output:
4949

5050
![A coral colored box translated 100 pixels to the right and 100 pixels down using the CSS matrix() function](https://raw.githubusercontent.com/Codecademy/docs/main/media/matrix-example-1.png)
5151

52-
## Example 2: Scaling Elements in CSS Using `matrix()`
52+
## Example 2
5353

5454
In this example, the `.box` element is scaled to `1.5` times its original size horizontally and `2` times vertically by modifying the `a` and `d` parameters:
5555

@@ -67,7 +67,7 @@ Here is the output:
6767

6868
![A medium sea green colored box scaled to 1.5 times its original width and 2 times its original height using the CSS matrix() function](https://raw.githubusercontent.com/Codecademy/docs/main/media/matrix-example-2.png)
6969

70-
## Example 3: Combined Transformation in CSS With the Help of `matrix()`
70+
## Example 3
7171

7272
This example creates a complex transformation by combining scaling, skewing, and translation in a single `matrix()` function:
7373

0 commit comments

Comments
 (0)