I create a XHTML page with <h:outputStylesheet name="vendor/font-awesome/css/font-awesome.min.css" />
so it loads the icon automatically like thiscase of i class="fa fa-truck"
I'd like to add the favicon fa-truck to my XHTML page, I download the icon and use this:
<link rel="icon" type="image/x-icon" href="#{resource['icons/truck.png']}" />
But, I'm looking for another solution without download the icon, I'd like to load it from class="fa fa-truck"
. So, I'd like that link rel="icon" type="image/png"
uses this class directly without download or compress or convert, exactly like i
does. In other meaning it's possible to replace href
by class
? like this:
It's possible ?. Could you please help me ?. Thanks a lot.