移动端适配
Opened this issue · 0 comments
chuiliu commented
var html = document.getElementsByTagName('html')[0];
var width = html.clientWidth;
html.style.fontSize = 12 * (widht / 320) + 'px';
Opened this issue · 0 comments
var html = document.getElementsByTagName('html')[0];
var width = html.clientWidth;
html.style.fontSize = 12 * (widht / 320) + 'px';