Opened 9 months ago
Last modified 9 months ago
#22019 closed enhancement
Twenty Ten - wrong math in style.css rem example — at Initial Version
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Bundled Theme | Version: | 3.5 |
| Severity: | normal | Keywords: | |
| Cc: | xoodrew@… |
Description
22 $rembase: 14;
23 $line-height: 24;
24
25 ---------- Examples
31 * Set a font-size and then set a line-height based on the font-size
32 font-size: 16px
33 font-size: 1.142857143rem; (16 / $rembase)
34 line-height: 1.846153846; ($line-height / 16)
line-height = $line-height: 24 / 16 = 1.5
Or I'm wrong? How can we get 1.846153846?
Note: See
TracTickets for help on using
tickets.