0.0.6 • Published 2 years ago

hj.css v0.0.6

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
2 years ago

hj.css

build

npm run build

less 自定义函数

font.less

  • font-size-n(@size)

    • @size:Number,字体大小
  • font-size-fn(@list)

  • font-tag-fn(@keys,@sizes)

  • font-weight-n(@size)

  • font-weight-fn(@list)

  • font-color-n(@color)

  • font-color-fn(@color)

distance.less(padding/margin)

  • dis-type-n(@t,@key,@n)

  • dis-n(@n)

  • dis-fn(@list)

bg.less

  • bg-tag-fn(@keys, @colors)

  • bg-color-n(@color)

  • bg-color-fn(@list)

table.less

  • table-init()

  • table-bgc-fn(@table-first-row-color, @table-last-row-color, @table-first-col-color)

  • table-col-width-loop()

  • table-border-n(@width, @color)

  • table-border-fn(@widths, @colors)

  • table-fn(@table-first-row-color, @table-last-row-color, @table-first-col-color, @table-border-width-list, @table-border-color-list)

flex.less

  • flex-init()

  • flex-item-basis-n(@width)

  • flex-item-basis-loop()

  • flex-item-grow-n(@num)

  • flex-item-grow-fn(@list)

  • flex-fn()

fn.less

  • n-line(@n)

    • 多行省略显示
  • list-color-fn(@tags, @colors)

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago