material-design-icons-seo
v1.0.0
Published
SEO Plugin for Material Design icons by Google
Downloads
7
Maintainers
Readme
material-design-icons-seo
SEO Plugin for Material Design icons by Google.
Installation
NPM
npm i --save-dev material-design-icons-seo
Yarn
yarn add --dev material-design-icons-seo
CDN
Using
SCSS
@import "~material-design-icons-seo/src/scss/material-design-icons-seo.scss";
CSS
Copy the folders build/css
and build/fonts
to root dir of your project and connect them:
<head>
<!-- ... -->
<link href="/css/material-design-icons-seo.css" rel="stylesheet">
</head>
Your project
To work, you must connect the main package material-design-icons, since this is an add-on for it:
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="/css/material-design-icons-seo.css" rel="stylesheet">
Now you can use constructions like:
<i class="material-icons">face</i>
<i class="material-icons mi-face"></i>
<i class="material-icons red">send</i>
<i class="material-icons mi-send red"></i>
<i class="material-icons green">face</i>
<i class="material-icons mi-face green"></i>
License
This package is released under the MIT License.