Skip to content

leon776/setHtmlRem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

# 按照宽高比例设定html字体, width=device-width initial-scale=1版
# @pargam win 窗口window对象
# @pargam option{
  designWidth: 设计稿宽度,必须
  designHeight: 设计稿高度,不传的话则比例按照宽度来计算,可选
  designFontSize: 设计稿宽高下用于计算的字体大小,默认20,可选
  callback: 字体计算之后的回调函数,可选
}
# return Boolean;
# archlichxw@gmail.com
# ps:请尽量第一时间运行此js计算字体

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published