Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sonofmagic/weapp-tailwindcss
/ rem
Function
rem
packages-runtime/typography/src/styles.js:17–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
return
trimTrailingZeros(num.toFixed(7))
16
}
17
const
rem = px => `${round(px / 16)}rem`
18
const
em = (px, base) => `${round(px / base)}em`
19
const
HEX_CHAR_DOUBLE_RE = /./g
20
Callers
1
styles.js
File · 0.85
Calls
1
round
Function · 0.70
Tested by
no test coverage detected