Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

Commit

Permalink
udpated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hrueger committed Feb 5, 2020
1 parent 30d2934 commit b9f4327
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,13 @@ Use the plugin:
<ns:LetterAvatar id="myAvatar" text="AB"></ns:LetterAvatar>
```

You can add custom styles by using ids, classes or the tag selector in (s)css:
```css
LetterAvatar {
padding: 10;
}

.myAvatar {
padding: 30;
margin: 20;
}
You can also add custom styles:
```html
<ns:LetterAvatar color="blue" padding="5" borderRadius="7" id="myAvatar" text="AB"></ns:LetterAvatar>
```

> Unfortunately, CSS properties are not supported.
For more info and examples check out the demo folder.

### Angular Version:
Expand Down Expand Up @@ -72,19 +67,14 @@ The use it in your .html file:
<LetterAvatar text="AB"></LetterAvatar>
```

You can add custom styles by using ids, classes or the tag selector in (s)css:
```css
LetterAvatar {
padding: 10;
}

.myAvatar {
padding: 30;
margin: 20;
}
You can add custom styles:
```html
<LetterAvatar color="blue" padding="5" borderRadius="7" text="AB"></LetterAvatar>
```

For more info and examples check out the demo-angular folder.
> Unfortunately, CSS properties are not supported.
For more info and examples check out the [demo](./demo) and the [demo-angular](./demo-angular) folder.


## License
Expand Down

0 comments on commit b9f4327

Please sign in to comment.