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 trial1 Answer
Michael Collins
433 PointsYou could try the CSS3 nth-child selector. NOTE: this is CSS3 and this particular item is only supported in IE with versions 9 and greater.
Here's some generic code. If you post some of your own code samples I might be able to provide something more specific.
@media screen and (max-width: 480px) {
li:nth-child(4) {
css-property: css-value
}
}
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi Courtney,
You should leave your original title and question intact so future users can benefit. The forums are here for you to get help but also to build up a repository of questions and answers for future users to benefit from as well.