cornford/tv-rating-icon-css

电视分类评级 CSS 图标

安装: 550

依赖: 0

建议者: 0

安全: 0

星星: 1

关注者: 2

分支: 1

开放问题: 0

语言:HTML

类型:组件

v2.1.0 2015-02-19 18:18 UTC

This package is auto-updated.

Last update: 2024-09-07 06:34:22 UTC


README

电视分类评级的 CSS。请参阅 示例

使用方法

要使用文本中的电视分类评级,请将类 tv-rating-icontv-rating-icon-xx(其中 xx 是评级的代码,例如 14)添加到一个空的 <span> 中。如果您想使用分类评级的浅色版本,还可以使用三种不同大小的 tv-rating-icon-lighttv-rating-icon-smtv-rating-icon-mdtv-rating-icon-lg。示例

<span class="tv-rating-icon tv-rating-icon-dark tv-rating-icon-14"></span>
<span class="tv-rating-icon tv-rating-icon-light tv-rating-icon-14"></span>
<span class="tv-rating-icon tv-rating-icon-light tv-rating-icon-md tv-rating-icon-14"></span>
<span class="tv-rating-icon tv-rating-icon-dark tv-rating-icon-lg tv-rating-icon-14"></span>

开发

在克隆项目后,运行 npm install 以安装依赖项,然后您可以

监听更改并在服务器上实时重新加载

$ grunt

构建 *.less 文件

$ grunt build

localhost:8000 上提供服务

$ grunt connect