From 3cb769178b9455b9df8ddd005b1f49cf4a6c0254 Mon Sep 17 00:00:00 2001 From: jaswsinc Date: Fri, 14 Aug 2015 06:11:58 -0800 Subject: [PATCH] Adding map example. --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 722bc3e..65b80dd 100644 --- a/README.md +++ b/README.md @@ -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; @@ -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; @@ -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); +} +```