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 trialMing Lei
808 PointsBreakpoint problem
This line does not seem to be working:
@media screen and (min-width: 480px) {
h1 {
font-size: 2.5em;
}
}
2 Answers
Rich Donnellan
Treehouse Moderator 27,696 PointsEdit your question to include all of the code. You may be placing it incorrectly.
Rich Donnellan
Treehouse Moderator 27,696 PointsYour code works as written. Did you remove the existing styles in the code challenge?
Ming Lei
808 PointsI did not remove anything else from the code challenge
Ming Lei
808 PointsI found out what was wrong, I just had to put it at the end of the challenge. Thanks!