Skip to content

Commit

Permalink
Readme improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrankov committed Sep 15, 2017
1 parent 2e76ca0 commit b9ad74f
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,33 @@
# iPhone X Bar
### Available on any of your sites!
[![npm version](https://badge.fury.io/js/iphone-x-bar.svg)](https://www.npmjs.com/package/iphone-x-bar)
![](http://img.badgesize.io/pfrankov/iphone-x-bar/master/iphone-x-bar.css)


![iphone-x-bar](https://user-images.githubusercontent.com/584632/30505297-748259a0-9a7c-11e7-8ccd-fad6ca650c33.gif)

## Installation
```bash
npm install --save iphone-x-bar
```
```bash


## Usage

#### CDN
```html
<link rel="stylesheet" href="//cdn.rawgit.com/pfrankov/iphone-x-bar/v1.0.0/iphone-x-bar.css"/>
```

#### Bookmarklet
```js
javascript:(link=>{link.rel='stylesheet';link.href='//cdn.rawgit.com/pfrankov/iphone-x-bar/v1.0.0/iphone-x-bar.css';document.body.appendChild(link)})(document.createElement('link'))
```

```javascript
// ES2015+ / TypeScript
import "iphone-x-bar";

// CommonJS
require("iphone-x-bar");
```

0 comments on commit b9ad74f

Please sign in to comment.