linwe
2025-10-24 fcfd3f8cf80c11eb7a80d168b52a2d16389c1c19
1
2
3
4
5
6
export function fontSize (size) {
    let clientHeight = window.screen.availHeight
    if (!clientHeight) return
    let fontSize = size / 1080 * clientHeight
    return fontSize
}