Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ ptr
Function
ptr
assets/js/px-rem.js:26–31 ·
view source on GitHub ↗
(px)
Source
from the content-addressed store, hash-verified
24
25
//Converter functions
26
function
ptr(px){
27
var
x = base() || 16,
28
rem = (1/x * px) +
'rem'
;
29
30
return
rem;
31
};
32
33
function
rtp(rem){
34
var
x = base() || 16,
Callers
1
handleInputs
Function · 0.85
Calls
1
base
Function · 0.85
Tested by
no test coverage detected