Skip to content

Commit

Permalink
Adding map example.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswsinc committed Aug 14, 2015
1 parent ed4b9f9 commit 3cb7691
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Equivalent to:

```css
.my-product .my-icon::before {
content: '\e004';
content: '\e000';
font: normal normal normal 14px/1 sharkicons;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
Expand Down Expand Up @@ -124,7 +124,7 @@ Equivalent to:

```css
.my-product .my-icon::after {
content: '\e004';
content: '\e000';
font: normal normal normal 14px/1 sharkicons;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
Expand All @@ -135,3 +135,13 @@ Equivalent to:
text-transform: none;
}
```

---

## Mapping An Icon Char via SCSS

```scss
.my-product .my-icon:hover::after {
content: map-get($sharkicons, broom);
}
```

0 comments on commit 3cb7691

Please sign in to comment.