ufologist / hairline

极细的线 - 用极简的方式实现

Home Page:https://ufologist.github.io/hairline/test/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM version changelog license

npm-image

极细的线 - 用极简的方式实现 - Demo

Usage

Usage1: npm

  1. install

    npm install hairline --save
    
  2. import

    import 'hairline';
  3. use

    <div class="hairline hairline--round">hairline</div>

Usage2: Download

  1. download hairline.css

  2. link css

    <link rel="stylesheet" href="path/to/hairline.css">
  3. use

    <div class="hairline hairline--round">hairline</div>

APIDoc

Class Description
.hairline base class
.hairline--round round hairline border
.hairline--top top hairline border
.hairline--right right hairline border
.hairline--bottom bottom hairline border
.hairline--left left hairline border
.hairline--input input/textarea element hairline border

其他实现

参考

About

极细的线 - 用极简的方式实现

https://ufologist.github.io/hairline/test/index.html

License:MIT License


Languages

Language:HTML 66.4%Language:CSS 33.6%