elefant/app-typekit
Composer 安装命令:
composer require elefant/app-typekit
包简介
TypeKit app for the Elefant CMS
README 文档
README
This is an app for the Elefant CMS that provides support for Typekit custom font hosting service.
Usage
Step 1. Add the following to the <head> of your layout:
{# typekit/XXXXXX #}
This will hard-code the necessary Javascript into your layout. Be sure to change the XXXXXX value to the ID provided by Typekit. You can find it on their website once you've registered.
Step 2. Add some fonts to your kit on typekit.com.
Step 3. Add the selectors for your chosen fonts to the elements you want to style. For example:
h1 { font-family: cody; }
You should now see your <h1> elements styled using the
Cody Web font from
typekit.com.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-05-11