OfficeDev / office-ui-fabric-core

The front-end CSS framework for building experiences for Office and Microsoft 365.
https://developer.microsoft.com/en-us/fabric
Other
3.77k stars 465 forks source link

Some icons missing while using CDN #1224

Closed hammerstrike closed 4 years ago

hammerstrike commented 4 years ago

I'm using core library CDN given in documentation page.

https://static2.sharepointonline.com/files/fabric/office-ui-fabric-core/11.0.0/css/fabric.min.css

Trying to use icons but might be some (new) icons seems like not updated. Below code not shows calendar icon with given CDN <span class="ms-Icon ms-Icon--Calendar"></span>

chendjouCaleb commented 4 years ago

You can use the unicode of the icon like this. .ms-Icon--Calendar:before { content: '\E787' }

YOU can replace the missing css classes this way.