当前位置:网站首页>uniapp引入本地字体
uniapp引入本地字体
2022-07-02 06:23:00 【xuefankang】
官方文档说明
使用方法
/* 特殊字体 */
@font-face {
font-family: 'digitFont';
src: url('/static/font/digitFont.ttf') format('truetype'),
url('/static/font/digitFont.woff') format('woff');
}
.test{
font-family: "digitFont";
}
边栏推荐
- pytest(3)parametrize参数化
- (第一百篇BLOG)写于博士二年级结束-20200818
- Detailed definition of tensorrt data format
- Selenium+msedgedriver+edge browser installation driver pit
- The intern left a big hole when he ran away and made two online problems, which made me miserable
- Codeforces Round #797 (Div. 3) A—E
- web自动化切换窗口时报错“list“ object is not callable
- Latex在VSCODE中编译中文,使用中文路径问题解决
- CUDA user object
- Learn about various joins in SQL and their differences
猜你喜欢
随机推荐
ModuleNotFoundError: No module named ‘jieba. analyse‘; ‘ jieba‘ is not a package
Utilisation de la carte et de foreach dans JS
Three suggestions for all students who have graduated and will graduate
ctf-web之练习赛
Latex error: the font size command \normalsize is not defined problem solved
After reading useful blogs
2020-9-23 QT的定时器Qtimer类的使用。
20210306转载如何使TextEdit有背景图片
Redis——大Key問題
Fe - wechat applet - Bluetooth ble development research and use
There is no way to drag the win10 desktop icon (you can select it, open it, delete it, create it, etc., but you can't drag it)
20201002 VS 2019 QT5.14 开发的程序打包
Summary of advertisement business bug replay
js中map和forEach的用法
Sparse array (nonlinear structure)
Loops in tensorrt
日志 - 7 - 记录一次丢失文件(A4纸)的重大失误
selenium+msedgedriver+edge浏览器安装驱动的坑
Uploading attachments using Win32 in Web Automation
NodeJs - Express 中间件修改 Header: TypeError [ERR_INVALID_CHAR]: Invalid character in header content