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 trialTrevor Wood
17,828 PointsLast-child and Last-of-type Quick Question
Hey guys, I'm trying to get the last ">" to be removed on the last piece of text. Any ideas? Here's an example link
1 Answer
Shawn Denham
Python Development Techdegree Student 17,801 PointsYou might not care for this project, but keep in mind that CSS3 advanced selectors like :nth-child(), :last-child, :first-of-type, etc. are not supported in IE8 and earlier. :)
Trevor Wood
17,828 PointsTrevor Wood
17,828 PointsAh okay, fixed it. Didn't realize that for the last one you needed ":after" as well.
Question - #navigation li:last-of-type { content: none;}
Solution - #navigation li:last-of-type:after { content: none;}