|
config.xml
- <preference name="font" family="testFont" value="widget/res/font1.ttf"/>
- <preference name="font" family="testFont1" value="widget/res/font2.ttf"/>
复制代码
css
- .title {
- font-size: 16px;
- font-weight: bold;
- font-family: "testFont";
- color: #fff;
- position: absolute;
- bottom: 10px;
- left: 0px;
- right: 0px;
- text-align: center;
- }
复制代码- .h2 {
- font-size: 22px;
- font-weight: bold;
- color: #333;
- text-align: center;
- font-family: "testFont1";
- margin: 50px;
- }
复制代码
|
|