hairline
v1.0.0
Published
CSS retina hairline
Downloads
9
Readme
hairline
极细的线
Usage
Usage1: npm
install
npm install hairline --save
import
import 'hairline';
use
<div class="hairline hairline--round">hairline</div>
Usage2: Download
download
hairline.css
link css
<link rel="stylesheet" href="path/to/hairline.css">
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 |
其他实现
- postcss-retina
- Hairlines | Framework7
- blear.scss.hairline
- border-retina
- border-1px.less
- border.less
- webkit-sassui-hairline
- Hairline border
- retina-border