From 0e39cd1c337e176bdf2b051076e9fc57187735a7 Mon Sep 17 00:00:00 2001 From: Daniel Hendricks Date: Tue, 12 Jun 2018 09:13:42 -0500 Subject: [PATCH] Added unpkg CDN docs #3 --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d46fb4a..7aeb155 100644 --- a/README.md +++ b/README.md @@ -45,14 +45,21 @@ composer require dmhendricks/file-icon-vectors To display a file icon, simply link to one or both of the icon set CSS files in the `css` directory: -``` +```html ``` +Alternatively, you can link to a CDN: + +```html + + +``` + From there, you can use CSS classes to display the icons: -``` +```html @@ -63,7 +70,7 @@ Notice that the classes contain either `flv-cla` for the Classic set or `flv-viv If you want to override the size of the icons, you can do so with CSS: -``` +```html @@ -71,7 +78,7 @@ If you want to override the size of the icons, you can do so with CSS: If you prefer, you may also use `.fiv-size-md`, `.fiv-size-lg` and `.fiv-size-xl` to modify the icon sizes: -``` +```html ```