项目作者: ryanve

项目描述 :
CSS bullet formatting for lists
高级语言: HTML
项目地址: git://github.com/ryanve/bullet.css.git
创建时间: 2017-05-27T22:48:34Z
项目社区:https://github.com/ryanve/bullet.css

开源协议:ISC License

下载


bullet.css

Classes

  • work on li itself or its ul or ol to affect all children
  • only apply list-item display

.bullet-disc

  • sets list-style to disc

.bullet-circle

  • sets list-style to circle

.bullet-square

  • sets list-style to square

.bullet-none

  • sets list-style to none

Examples

ul example

  1. <ul class="bullet-none">
  2. <li>item
  3. <li>item
  4. </ul>

li example

  1. <ul>
  2. <li class="bullet-none">item
  3. <li class="bullet-none">item
  4. </ul>

Setup

  1. npm install bullet.css
  1. @import 'node_modules/bullet.css/bullet';