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 trialBARBARA SHIMASAKI
3,177 Pointshi! I'm coding along in Sublime 2 and box-sizing isn't picking up the usual color given to valid properties -- why?
and it doesn't seem to be picked up in Chrome. Am I missing something? thnx
5 Answers
huckleberry
14,636 PointsIt's just part of the syntax package within ST. Some keywords within CSS just don't highlight and I think it just comes down to the fact that the syntax highlighting hasn't been updated in a while and some things that weren't viable back when the highlighting was first designed are now used in CSS but the highlighting simply hasn't been re-worked.
You're fine, keep coding. Just, you know, be extra careful with your spelling on the things that don't offer any highlighting lol.
Cheers,
Huck -
Seab Jackson
5,692 PointsYou should install the updated css3 package. https://github.com/i-akhmadullin/Sublime-CSS3
Ivan Franzone
7,328 PointsHello! If your browser is Google Chrome, you should add the property like my example:
-webkit-box-sizing: content-box;
huckleberry
14,636 PointsHey bro,
Just to let you know, box-sizing is supported by all the major browsers and doesn't require prefixing :)
Cheers,
Huck -
Ivan Franzone
7,328 PointsThanks Huck!