@font-face {
//这里定义你引入字体包的名称
font-family: 'mFontRegular';
src:url('字体包资源路径');
}
html {
width: 100%;
height: 100%;
position: relative;
background-color: #000;
//background-size: 100% auto;
//background-position: top;
font-size: 16px;
font-family: mFontRegular;
}
然后直接用