ethantw / Han

「漢字標準格式」印刷品般的漢字排版框架 Han.css: the CSS typography framework optimised for Hanzi.
https://hanzi.pro/
MIT License
2.42k stars 135 forks source link

Conflict With Font-awesome CSS #97

Closed Yogayu closed 7 years ago

Yogayu commented 7 years ago

When I use the han CSS and the font-awesome CSS, the icons can't be seen. Like:

<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css"/>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/Han/3.2.7/han.min.css"/>

The icons will look like this: image

ethantw commented 7 years ago

Please do not use <i> elements for icons. It is not only ugly but against the principal of semantic web.

A good substitution to Font Awesome CSS is Font Handsome.

Yogayu commented 7 years ago

Thx.