Skip to content

Commit

Permalink
Add note about font-weight computed value (#34299)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed Jun 21, 2024
1 parent c4d14f9 commit a6215a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/en-us/web/css/font-weight/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ If the exact weight given is unavailable, then the following rule is used to det

- If a weight greater than `500` is given, look for available weights greater than the target, in ascending order. If no match is found, look for available weights less than the target, in descending order.

> **Note:** The fallback weight algorithm is only used for rendering. The computed value of the property is still the specified value.

### Meaning of relative weights

When `lighter` or `bolder` is specified, the below chart shows how the absolute font weight of the element is determined.
Expand Down

0 comments on commit a6215a6

Please sign in to comment.