Jitendra Vyas
Jitendra Vyas

Reputation: 152807

Is it harmful to put any comment as a first thing in CSSfile?

Is it harmful to put anything as a comment as a first thing in a CSS file? Can it cause any problem in any browser or does it have no cons?

Upvotes: 0

Views: 95

Answers (2)

Richard H
Richard H

Reputation: 39115

As far as I am aware, no it does not, and it wont have any impact on browser parsing.

Upvotes: 0

Pekka
Pekka

Reputation: 449713

I can't see how this could be harmful.

If you specify an @encoding, it must be in the first line (Source). Otherwise, it shouldn't be a problem.

Upvotes: 4

Related Questions