css-border-style
Version:
Css module of single purpose classes for border style
305 lines (272 loc) • 10.7 kB
Markdown
# css-border-style 1.0.6
Css module of single purpose classes for border style
#### Stats
1039 | 200 | 200
---|---|---
bytes | selectors | declarations
## Installation
#### With [npm](https://npmjs.com)
```
npm install --save-dev css-border-style
```
Learn more about using css installed with npm:
* https://webpack.github.io/docs/stylesheets.html
* https://github.com/defunctzombie/npm-css
#### With Git
http:
```
git clone https://github.com/tachyons-css/css-border-style
```
ssh:
```
git clone git@github.com:tachyons-css/css-border-style.git
```
## Usage
#### Using with [Postcss](https://github.com/postcss/postcss)
Import the css module
```css
@import "css-border-style";
```
Then process the css using the [`tachyons-cli`](https://github.com/tachyons-css/tachyons-cli)
```sh
$ npm i -g tachyons-cli
$ tachyons path/to/css-file.css > dist/t.css
```
#### Using the css
##### CDN
The easiest and most simple way to use the css is to use the cdn hosted version. Include it in the head of your html with:
```
<link rel="stylesheet" href="http://unpkg.com/css-border-style@1.0.6/css/css-border-style.min.css" />
```
##### Locally
The built css is located in the `css` directory. It contains an unminified and minified version.
You can either cut and paste that css or link to it directly in your html.
```html
<link rel="stylesheet" href="path/to/module/css/css-border-style">
```
#### Development
The source css files can be found in the `src` directory.
Running `$ npm start` will process the source css and place the built css in the `css` directory.
## The css
```css
/*
BORDER STYLE
*/
.ba-none { border-style: none; }
.ba-hidden { border-style: hidden; }
.ba-dotted { border-style: dotted; }
.ba-dashed { border-style: dashed; }
.ba-solid { border-style: solid; }
.ba-double { border-style: double; }
.ba-groove { border-style: groove; }
.ba-ridge { border-style: ridge; }
.ba-inset { border-style: inset; }
.ba-outset { border-style: outset; }
.bt-none { border-top-style: none; }
.bt-hidden { border-top-style: hidden; }
.bt-dotted { border-top-style: dotted; }
.bt-dashed { border-top-style: dashed; }
.bt-solid { border-top-style: solid; }
.bt-double { border-top-style: double; }
.bt-groove { border-top-style: groove; }
.bt-ridge { border-top-style: ridge; }
.bt-inset { border-top-style: inset; }
.bt-outset { border-top-style: outset; }
.bb-none { border-bottom-style: none; }
.bb-hidden { border-bottom-style: hidden; }
.bb-dotted { border-bottom-style: dotted; }
.bb-dashed { border-bottom-style: dashed; }
.bb-solid { border-bottom-style: solid; }
.bb-double { border-bottom-style: double; }
.bb-groove { border-bottom-style: groove; }
.bb-ridge { border-bottom-style: ridge; }
.bb-inset { border-bottom-style: inset; }
.bb-outset { border-bottom-style: outset; }
.bl-none { border-left-style: none; }
.bl-hidden { border-left-style: hidden; }
.bl-dotted { border-left-style: dotted; }
.bl-dashed { border-left-style: dashed; }
.bl-solid { border-left-style: solid; }
.bl-double { border-left-style: double; }
.bl-groove { border-left-style: groove; }
.bl-ridge { border-left-style: ridge; }
.bl-inset { border-left-style: inset; }
.bl-outset { border-left-style: outset; }
.br-none { border-right-style: none; }
.br-hidden { border-right-style: hidden; }
.br-dotted { border-right-style: dotted; }
.br-dashed { border-right-style: dashed; }
.br-solid { border-right-style: solid; }
.br-double { border-right-style: double; }
.br-groove { border-right-style: groove; }
.br-ridge { border-right-style: ridge; }
.br-inset { border-right-style: inset; }
.br-outset { border-right-style: outset; }
@media screen and (min-width: 48em) {
.ba-none-ns { border-style: none; }
.ba-hidden-ns { border-style: hidden; }
.ba-dotted-ns { border-style: dotted; }
.ba-dashed-ns { border-style: dashed; }
.ba-solid-ns { border-style: solid; }
.ba-double-ns { border-style: double; }
.ba-groove-ns { border-style: groove; }
.ba-ridge-ns { border-style: ridge; }
.ba-inset-ns { border-style: inset; }
.ba-outset-ns { border-style: outset; }
.bt-none-ns { border-top-style: none; }
.bt-hidden-ns { border-top-style: hidden; }
.bt-dotted-ns { border-top-style: dotted; }
.bt-dashed-ns { border-top-style: dashed; }
.bt-solid-ns { border-top-style: solid; }
.bt-double-ns { border-top-style: double; }
.bt-groove-ns { border-top-style: groove; }
.bt-ridge-ns { border-top-style: ridge; }
.bt-inset-ns { border-top-style: inset; }
.bt-outset-ns { border-top-style: outset; }
.bb-none-ns { border-bottom-style: none; }
.bb-hidden-ns { border-bottom-style: hidden; }
.bb-dotted-ns { border-bottom-style: dotted; }
.bb-dashed-ns { border-bottom-style: dashed; }
.bb-solid-ns { border-bottom-style: solid; }
.bb-double-ns { border-bottom-style: double; }
.bb-groove-ns { border-bottom-style: groove; }
.bb-ridge-ns { border-bottom-style: ridge; }
.bb-inset-ns { border-bottom-style: inset; }
.bb-outset-ns { border-bottom-style: outset; }
.bl-none-ns { border-left-style: none; }
.bl-hidden-ns { border-left-style: hidden; }
.bl-dotted-ns { border-left-style: dotted; }
.bl-dashed-ns { border-left-style: dashed; }
.bl-solid-ns { border-left-style: solid; }
.bl-double-ns { border-left-style: double; }
.bl-groove-ns { border-left-style: groove; }
.bl-ridge-ns { border-left-style: ridge; }
.bl-inset-ns { border-left-style: inset; }
.bl-outset-ns { border-left-style: outset; }
.br-none-ns { border-right-style: none; }
.br-hidden-ns { border-right-style: hidden; }
.br-dotted-ns { border-right-style: dotted; }
.br-dashed-ns { border-right-style: dashed; }
.br-solid-ns { border-right-style: solid; }
.br-double-ns { border-right-style: double; }
.br-groove-ns { border-right-style: groove; }
.br-ridge-ns { border-right-style: ridge; }
.br-inset-ns { border-right-style: inset; }
.br-outset-ns { border-right-style: outset; }
}
@media screen and (min-width:48em) and (max-width: 64em) {
.ba-none-m { border-style: none; }
.ba-hidden-m { border-style: hidden; }
.ba-dotted-m { border-style: dotted; }
.ba-dashed-m { border-style: dashed; }
.ba-solid-m { border-style: solid; }
.ba-double-m { border-style: double; }
.ba-groove-m { border-style: groove; }
.ba-ridge-m { border-style: ridge; }
.ba-inset-m { border-style: inset; }
.ba-outset-m { border-style: outset; }
.bt-none-m { border-top-style: none; }
.bt-hidden-m { border-top-style: hidden; }
.bt-dotted-m { border-top-style: dotted; }
.bt-dashed-m { border-top-style: dashed; }
.bt-solid-m { border-top-style: solid; }
.bt-double-m { border-top-style: double; }
.bt-groove-m { border-top-style: groove; }
.bt-ridge-m { border-top-style: ridge; }
.bt-inset-m { border-top-style: inset; }
.bt-outset-m { border-top-style: outset; }
.bb-none-m { border-bottom-style: none; }
.bb-hidden-m { border-bottom-style: hidden; }
.bb-dotted-m { border-bottom-style: dotted; }
.bb-dashed-m { border-bottom-style: dashed; }
.bb-solid-m { border-bottom-style: solid; }
.bb-double-m { border-bottom-style: double; }
.bb-groove-m { border-bottom-style: groove; }
.bb-ridge-m { border-bottom-style: ridge; }
.bb-inset-m { border-bottom-style: inset; }
.bb-outset-m { border-bottom-style: outset; }
.bl-none-m { border-left-style: none; }
.bl-hidden-m { border-left-style: hidden; }
.bl-dotted-m { border-left-style: dotted; }
.bl-dashed-m { border-left-style: dashed; }
.bl-solid-m { border-left-style: solid; }
.bl-double-m { border-left-style: double; }
.bl-groove-m { border-left-style: groove; }
.bl-ridge-m { border-left-style: ridge; }
.bl-inset-m { border-left-style: inset; }
.bl-outset-m { border-left-style: outset; }
.br-none-m { border-right-style: none; }
.br-hidden-m { border-right-style: hidden; }
.br-dotted-m { border-right-style: dotted; }
.br-dashed-m { border-right-style: dashed; }
.br-solid-m { border-right-style: solid; }
.br-double-m { border-right-style: double; }
.br-groove-m { border-right-style: groove; }
.br-ridge-m { border-right-style: ridge; }
.br-inset-m { border-right-style: inset; }
.br-outset-m { border-right-style: outset; }
}
@media screen and (min-width: 64em) {
.ba-none-l { border-style: none; }
.ba-hidden-l { border-style: hidden; }
.ba-dotted-l { border-style: dotted; }
.ba-dashed-l { border-style: dashed; }
.ba-solid-l { border-style: solid; }
.ba-double-l { border-style: double; }
.ba-groove-l { border-style: groove; }
.ba-ridge-l { border-style: ridge; }
.ba-inset-l { border-style: inset; }
.ba-outset-l { border-style: outset; }
.bt-none-l { border-top-style: none; }
.bt-hidden-l { border-top-style: hidden; }
.bt-dotted-l { border-top-style: dotted; }
.bt-dashed-l { border-top-style: dashed; }
.bt-solid-l { border-top-style: solid; }
.bt-double-l { border-top-style: double; }
.bt-groove-l { border-top-style: groove; }
.bt-ridge-l { border-top-style: ridge; }
.bt-inset-l { border-top-style: inset; }
.bt-outset-l { border-top-style: outset; }
.bb-none-l { border-bottom-style: none; }
.bb-hidden-l { border-bottom-style: hidden; }
.bb-dotted-l { border-bottom-style: dotted; }
.bb-dashed-l { border-bottom-style: dashed; }
.bb-solid-l { border-bottom-style: solid; }
.bb-double-l { border-bottom-style: double; }
.bb-groove-l { border-bottom-style: groove; }
.bb-ridge-l { border-bottom-style: ridge; }
.bb-inset-l { border-bottom-style: inset; }
.bb-outset-l { border-bottom-style: outset; }
.bl-none-l { border-left-style: none; }
.bl-hidden-l { border-left-style: hidden; }
.bl-dotted-l { border-left-style: dotted; }
.bl-dashed-l { border-left-style: dashed; }
.bl-solid-l { border-left-style: solid; }
.bl-double-l { border-left-style: double; }
.bl-groove-l { border-left-style: groove; }
.bl-ridge-l { border-left-style: ridge; }
.bl-inset-l { border-left-style: inset; }
.bl-outset-l { border-left-style: outset; }
.br-none-l { border-right-style: none; }
.br-hidden-l { border-right-style: hidden; }
.br-dotted-l { border-right-style: dotted; }
.br-dashed-l { border-right-style: dashed; }
.br-solid-l { border-right-style: solid; }
.br-double-l { border-right-style: double; }
.br-groove-l { border-right-style: groove; }
.br-ridge-l { border-right-style: ridge; }
.br-inset-l { border-right-style: inset; }
.br-outset-l { border-right-style: outset; }
}
```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
## Authors
* [mrmrs](http://mrmrs.io)
* [johno](http://johnotander.com)
## License
ISC