15179599649
2024-01-08 f29a96ac3cf82e0dc06e1b3874ab2abed2ebaeaa
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
}