X
X
xmoonlight2015-07-10 20:33:50
css
xmoonlight, 2015-07-10 20:33:50

W3C validation CSS with AWESOME icon font?

Colleagues, welcome.
What can you say about using Font Awesome (icon font) with W3C validation , who faced and how to deal with errors?
Validator: https://jigsaw.w3.org/css-validator/
Font: fortawesome.github.io/Font-Awesome
Thank you all in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maksim Zverev, 2015-07-10
@m1skam

After discussion in the comments, slightly changed the answer.
There are 2 ways:
1. Abandon the font altogether.
2. On the project page https://github.com/FortAwesome/Font-Awesome
, fix either less or sass sources and build css yourself without hacks.
The sources there are not very large and should not take much time.

O
Oleg Matrozov, 2015-07-10
@Mear

Judging by the results of the validation, you can not look at the warnings at all (there are only errors due to the fact that the validator does not know the proprietary properties of the -webkit type). Of the errors, many of the same type again, that the validator does not know the pointerEvents property, does not understand the filter syntax, etc. There is definitely one mistake - this is a crooked margin (c \ 9) looks like a typo in less / sass that has spread to different places. That is, in general, if you fix \9, then there is no special crime there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question