Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
riverside committed Aug 26, 2018
1 parent f127c84 commit 8977c00
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ A simple grid web component
## How to use

### Install
##### Install with `npm`
`$ npm install zino-grid`

##### Install with `bower`
`$ bower install zino-grid`

### Using `zino-grid`
#### HTML way
##### HTML way
```html
<link rel="stylesheet" href="../../font-awesome/css/font-awesome.min.css">

Expand All @@ -18,7 +22,7 @@ A simple grid web component
```
Grid customizations are possible via `data-*` attributes.

#### JavaScript way
##### JavaScript way
```html
<script src="../zino-grid.js"></script>
<script src="../../@webcomponents/webcomponentsjs/webcomponents-bundle.js"></script>
Expand All @@ -29,7 +33,7 @@ var grid = new ZinoGrid({
document.body.appendChild(grid);
</script>
```
### Styling
##### Styling
```css
:root {
--background-head: #fff;
Expand Down

0 comments on commit 8977c00

Please sign in to comment.