为什么用别人的字体?本地储存字体加载起来很慢,自己服务器慢的话那就可想而知了,所以我们可以利用小米官网储存的字体加速,看链接就知道这是小米官网,放心使用~
链接中的400,600,700 可以去除其中一个,分别对应字体的粗细,看自己需求
小米字体
<link rel="stylesheet" href="https://font.sec.miui.com/font/css?family=MiSans:400,700:MiSans" /><style#>* {font-family: MiSans}</style#>
思源宋字体
<link rel="stylesheet" href="https://font.sec.miui.com/font/css?family=Source_Han_Serif:400,600:Source_Han_Serif" /><style#>* {font-family: Source Han Serif} </style#>
程序员专用字体
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,700,700i" /><style#>* {font-family: Open Sans} </style#>