Skip to content

Commit

Permalink
Scale function accepts percentages as well as numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-teck authored Jan 16, 2022
1 parent bfe0c1c commit 5becc0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/css/transform-function/scale()/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ scale(sx, sy)
### Values

- `sx`
- : A {{cssxref("<number>")}} representing the abscissa of the scaling vector.
- : A {{cssxref("<number>")}} or {{cssxref(<percentage>)}} representing the abscissa of the scaling vector.
- `sy`
- : A {{cssxref("<number>")}} representing the ordinate of the scaling vector. If not defined, its default value
- : A {{cssxref("<number>")}} or {{cssxref(<percentage>)}} representing the ordinate of the scaling vector. If not defined, its default value
is `sx`, resulting in a uniform scaling that preserves the element's aspect ratio.

<table class="standard-table">
Expand Down

0 comments on commit 5becc0d

Please sign in to comment.