Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

What the bloody is this doing at the top of a style sheet?

@charset "UTF-8"

2 Answers

Ben Schroeder
Ben Schroeder
22,818 Points

It's a @charset CSS rule, useful when using non-ASCII characters in CSS properties.

non-ASCII. I don't see any charterers that I don't recognize in this stylesheet. Although the stylesheet is ridiculously (over 2000 lines) large for what seems to be a pretty simple page. So I am sure I could have missed it.

Carlos, I don't see any imports, but the stylesheet is over 2000 lines of code. It could be in there somewhere. This particular stylesheet has me befuddled. So much css, and its a pretty plain looking page. ¿Qué piensas?

Carlos José
Carlos José
Courses Plus Student 12,431 Points

Pienso que tu Kung Fu de editores de texto esta debil. CTRL + F "@import" Si sabes que quiero decir. XD There's a lot of "What the bloody Unicorns?!" while reading alien code sometimes even your past three months code. :P Maybe I can find some old C code of mine we can laugh about. Maybe it's a framework code that was not stripped down. You could examine the HTML code and pick the classes and ID's then from there tell the smurfs to get outta there. A warning, they won't go lightly, there might be danger...

Sí mi Kung Fu es débil, y mis ojos son oscuros, pero mis huevos todavía tienen vida en ellos

Carlos José
PLUS
Carlos José
Courses Plus Student 12,431 Points

Y que tienen que ver los ojos oscuros ? XD Son para ver principalmente :P

por el amor de Dios