且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将FontAwesome集成到KendoUI CSS中

更新时间:2023-10-16 19:28:40

您可以通过使用为该图标提供的真棒字体unicode并将其放在psuedo元素后进行设置,就像真棒字体如何将其图标放在元素上一样.查看图标详细信息时,您可以找到unicode.这是fa-o的文件之一: http://fontawesome.io/icon/files-o /

You can set it by using the font awesome unicode provided for that icon and putting it in the after psuedo element, just like how font awesome puts their icons on elements. You can find the unicode when looking at the icon details. Here is the fa-files-o one: http://fontawesome.io/icon/files-o/

.k-grid .k-button.copy:after {
    content: '\f0c5'
    font-family: FontAwesome;
}