Stop Using JavaScript to Strip Units. CSS Typed Arithmetic Is Baseline
DEV Community
Stop Using JavaScript to Strip Units. CSS Typed Arithmetic Is Baseline
calc(100vw / 1px) now returns a plain number. Firefox 158 made CSS typed arithmetic Baseline Newly available in October 2026.
0 comments
No comments yet.