Reputation: 11
body{
background-color: #ccc;
font: 12px/1.5 \5fae\8f6f\96c5\9ed1;
}
I can't figure out the value of 'font'....
Upvotes: 1
Views: 330
Reputation: 5310
It sets the font to the Chinese font family Microsoft YaHei using unicode characters. The first character here for example is: 5fae and means "small, prefix micro-, trifling". After that I'm lost! Very interesting :)
Upvotes: 1
Reputation: 22760
Your line is:
font: font size (pixels) / the line height (relative to font size so 12 x 1.5) and then the font family name, the name is chinese characters so is displayed (unicode?) in this way.
You can read more about this font name here
Overall the CSS line is a shorthand version of standard CSS font declaration, but using a non-latin font-family name.
Upvotes: 0