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 trialKevin Afsari
4,269 PointsContent Property???
Where does Guil get 'content: "\e000";' from? He just seems to pull it out of thin air. Could someone please give me a simple explanation, thank you!
2 Answers
Adam Arvidsson
7,318 PointsIt's called icon-fonts.
Stephen Little
8,312 PointsYou can see where he gets the codes from the video at 13:46 in, the icoMoon site give it to him when he generates the font. I also got the code from viewing the font in a browser (which show nothing) and viewing source and showed me the codes.
Cheers! Stephen
Kevin Murphy
24,380 PointsKevin Murphy
24,380 PointsI was confused by this as well. The article Adam cites is quite helpful in clarifying some of the missing steps. I still feel shaky about using icon fonts in any real context and am planning to work through some practice using icomoon. I think a reference of mozilla of the content property may be helpful also.